View source: R/utils_rtables.R
labels_or_names | R Documentation |
Helper function for working with nested statistic function results which typically don't have labels but names that we can use.
labels_or_names(x)
x |
( |
A character
vector with the labels or names for the list elements.
x <- data.frame(
a = 1:10,
b = rnorm(10)
)
labels_or_names(x)
var_labels(x) <- c(b = "Label for b", a = NA)
labels_or_names(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.