View source: R/singleanalysis.r
makeonemodel | R Documentation |
makeonemodel puts together the formula needed to run a statistical model, but, different to makemodels, it only generates a single model.
makeonemodel(labelModel, dependent = "LnCE")
labelModel |
a vector of labels for each factor to be included in the analysis |
dependent |
the name of the dependent variable; defaults to LnCE |
a formula of 'dependent ~ labelModel components
labelM <- c("Year","Vessel","DepCat","Zone:Month")
makeonemodel(labelM)
makeonemodel(labelM,dependent="LnCE")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.