D
D
Daniel2021-01-16 23:14:11
R
Daniel, 2021-01-16 23:14:11

How to get key names in R?

There is an associative array

a <- c('fist' = 'value1', 'second' = 'value2')

How to get the list of keys of this array?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniel, 2021-01-16
@TheCrossCarrier

names(a)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question