predictSimario | R Documentation |
NB: In order to know how many values to predict, there needs to be at least one variable in the model. If you wish to create a intercept only model, then create a model with a single variable and a zero coefficient.
predictSimario(model, envir = parent.frame(), set = NULL)
model |
model with terms and coefficiens |
envir |
an environment in which model variables are evaluated. May also be NULL, a list, a data frame, a pairlist or an integer as specified to sys.call. If the specified envir is a list or data.frame, then the parent frame is used as the enclosing environment in which variables that don't exist in envir will be evaluated. If not specified then the parent frame is used, ie: the environment of the function calling this (i.e: the dynamic parent rather than the lexical parent in which this function is defined). The usual order of evaluation is used, i.e: in envir, then its parents and along the search path. For example, if a model variable is reassigned in the function calling this, then that reassigned value will be used before a global or attached value. |
set |
logical vector indicating elements or rows to keep, or NULL to use all elements returned by evaluated model variables |
a vector of predicted values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.