ref_lv | R Documentation |
A function to quickly get or set the reference level of a factor
ref_lv(x)
## S3 method for class 'factor'
ref_lv(x)
ref_lv(x) <- value
## S3 replacement method for class 'factor'
ref_lv(x) <- value
x |
A factor |
value |
An existing level to be set as reference |
A character object the represents the reference level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.