index_to_name | R Documentation |
a helper function to get names by integer indexes from data.frame or list
index_to_name(x, ind)
x |
a data.frame or a list |
ind |
a vector of integer indexes or colnames of |
a vector of characters
index_to_name(data.frame(A = 1, B = 2), 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.