selectRegressor | R Documentation |
Return the regressor variables contained in the formula
selectRegressor(object, ...)
## S3 method for class 'formula'
selectRegressor(object, format = "call", ...)
object |
a formula |
... |
[internal] Only used by the generic method. |
format |
[character] should an object of format call be returned ( |
## Not run:
selectRegressor <- lavaSearch2:::selectRegressor
selectRegressor.formula <- lavaSearch2:::selectRegressor.formula
selectRegressor(Y1~X1+X2)
selectRegressor(Y1~X1+X2, format = "vars")
selectRegressor(Y1~X1+Y1)
selectRegressor(Y1+Y2~X1+Y1, format = "vars")
selectRegressor(~X1+X2)
selectRegressor(~X1+X2, format = "vars")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.