Categories
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?
a <- c('fist' = 'value1', 'second' = 'value2')
Answer the question
In order to leave comments, you need to log in
names(a)
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question