Turn logicals into factors with levels ordered with
Other inputs are returned unaltered.
1 2 3 4 5 6 7
a vector or data frame
additional arguments (currently ignored)
x is a vector either
x or the result
x into a factor with levels
FALSE (in that order); if
x is a data frame,
a data frame with all logicals converted to factors in this manner.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.