convertAesVar {patientProfilesVis} | 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