The right hand side of
formula(object), without any
conditioning expressions (i.e. any expressions after a `|'
operator) is returned as a one-sided formula.
USAGE:
getCovariateFormula(object)
REQUIRED ARGUMENTS:
object
any object from which a formula can be extracted.
VALUE:
a one-sided formula describing the covariates associated with
formula(object)
.
SEE ALSO:
EXAMPLES:
getCovariateFormula(y ~ x | g)
getCovariateFormula(y ~ x)