View source: R/miscellaneous.R
convertAesVar | R Documentation |
This converts the empty values (”) to NA.
The variable is then converted as a factor.
Missing values are also included in the
levels of the factor, to ensure that missing values
are displayed in the legend of the plot.
convertAesVar(data, var)
data |
data.frame with data |
var |
variable of |
updated factor var
variable
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.