as_factor | R Documentation |
Convert one dimension data to factor
as_factor(x, ordered = FALSE)
x |
date, numeric, integer. data to be changed. |
ordered |
logical. Whether the factor to be generated is an ordered factor. |
factor
as_factor(letters)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.