check_attr | R Documentation |
Useful with dplyr::mutate_if()
check_attr(x)
x |
Vector |
TRUE
or FALSE
df <- data.frame(cars = 1:3) attr(df$cars, "map") <- data.frame(levels = 1:3, labels = c("Volvo", "Saab", "Opel")) check_attr(df$cars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.