get.mod.vars | R Documentation |
Split the predictor string of a model formula into it's constituent character strings.
get.mod.vars(model)
model |
a character string of a formula of the form 'y ~ x1 + x2' |
a vector of character strings of variable names (e.g. corresponding to column names for comp.data input)
model.variables <- get.mod.vars(model='y ~ x1 + x2')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.