powered by
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)
a character string specifying the outcome variable
a character string of a formula of the form 'y ~ x1 + x2 ...'
model.columns <- get.mod.clmns(model=formula('y ~ x1 + x2'))
Run the code above in your browser using DataLab