| catecovar {sanon} | R Documentation |
Identify Categorical Covariables
Description
This is a special function used in the context of sanon. It identifies categorical covariables when they appear on the right hand side of a formula.
Usage
catecovar(x, ref = NULL)
Arguments
x |
variable name |
ref |
character for the reference group for the categorical covariable. |
Details
In the sanon, the categorical covariable is converted into a dummy variable. The reference group is specified in the ref argument.
[Package sanon version 1.6 Index]