get.mod.outcome | R Documentation |
Get the outcome variable from the front of a model formula string. Used as part of 'get.mod.clmns' to be passed to 'comp.data'
get.mod.outcome(model)
model |
a character string of a formula of the form 'y ~ x1 + x2 ...' |
a character string specifying the outcome variable
model.columns <- get.mod.clmns(model=formula('y ~ x1 + x2'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.