drop_category | R Documentation |
Converts a vector object to a non-categorical object, typically a column in a data frame. The categories come from non-missing values present in the object and are suppressed from an associated data dictionary (when present).
drop_category(x)
x |
object to be coerced. |
A R object.
{
head(iris[['Species']])
head(drop_category(iris[['Species']]))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.