nums | R Documentation |
The set of functions return names of objects directly cast to numeric values.
nums(x)
colnums(x)
rownums(x)
x |
Object with names, colnames or rownames attributes. |
Numeric vector.
# base R object
a <- 1:10
names(a) <- seq(10, 100, 10)
nums(a)
# XArray
data(exemplar)
colnums(exemplar)
rownums(exemplar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.