Learn R Programming

sanon (version 1.2)

grp: Identify Group Variables

Description

This is a special function used in the context of sanon. It identifies group variables when they appear on the right hand side of a formula.

Usage

grp(x, ref = NULL)

Arguments

x
variable name
ref
character for the reference group for treatment group.