getCovariateFormula
Extract Covariates Formula
Description
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)
Arguments
object | any object from which a formula can be extracted. |
Value
a one-sided formula describing the covariates associated with formula(object)
.
Author(s)
José Pinheiro and Douglas Bates [email protected]
See Also
Examples
getCovariateFormula(y ~ x | g) getCovariateFormula(y ~ x)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.