convertAesVar {patientProfilesVis} | R Documentation |
Convert aesthetic variable for patient profile visualization.
Description
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.
Usage
convertAesVar(data, var)
Arguments
data |
data.frame with data |
var |
variable of |
Value
updated factor var
variable
Author(s)
Laure Cougnaud
[Package patientProfilesVis version 2.0.9 Index]