View source: R/factor_labels.R
| factor_labels | R Documentation |
Read the factor labels stored on an ackwards object
factor_labels(x)
x |
An |
The named character vector of factor labels (names are factor IDs), or
NULL if none have been set. See set_factor_labels() to attach them.
set_factor_labels()
x <- ackwards(sim16, k_max = 4, engine = "pca")
factor_labels(x) # NULL -- none set yet
x <- set_factor_labels(x, c(m4f1 = "Alpha"))
factor_labels(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.