catecovar: Identify Categorical Covariables

Description Usage Arguments Details

View source: R/sanon.r

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

1
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.


sanon documentation built on July 8, 2020, 6:54 p.m.