| addCovToFormla {BMisc} | R Documentation | 
Add a Covariate to a Formula
Description
addCovFromFormla adds some covariates to a formula;
covs should be a list of variable names
Usage
addCovToFormla(covs, formla)
Arguments
| covs | should be a list of variable names | 
| formla | which formula to add covariates to | 
Value
formula
Examples
formla <- y ~ x
addCovToFormla(list("w","z"), formla)
formla <- ~x
addCovToFormla("z", formla)
[Package BMisc version 1.4.6 Index]