initialize,VarGroup-method {doudpackage} | R Documentation |
S4 class initialization function
Description
Initialization function for VarGroup initialize,VarGroup-method()
Usage
## S4 method for signature 'VarGroup'
initialize(
.Object,
x,
group_var,
pvalue,
parsed_name,
value,
missing.value,
missing.value.name
)
Arguments
.Object |
Object to be initialized |
x |
A Var object |
group_var |
The subgroup for which proportions, mean/sd were calculated and missing values |
pvalue |
The calculated pvalue |
parsed_name |
The name of the variable parsed with the n (%), mean (SD) |
value |
The values calculated parsed |
missing.value |
Missing values numbers and proportions n (%) |
missing.value.name |
Missing values concatenate with the level of the variable if it factor |
Value
VarGroup object
[Package doudpackage version 2.1.0 Index]