View source: R/PlotsConditionals.R
getconditionals | R Documentation |
This will obtain responses to each predictor variable across its range of observed values, conditional on all other predictor variables being set to 0 (their mean value, if data are scaled properly). If automatic scaling is used, predictors and responses are backtransformed to their original scale. If the model includes multiple populations, responses are obtained for each population.
getconditionals(fit, xrange = "default", extrap = 0.01, nvals = 25, plot = T)
fit |
Output from |
xrange |
The range of scaled predictor values over which responses
should be evaluated. Options are |
extrap |
Percentage to extrapolate beyond the predictor range for each
population (i.e. predictor values will range from |
nvals |
The number of values to evaluate across the predictor range for each population. Defaults to 25, which should be fine for most applications. |
plot |
Produce a plot, or not (logical, defaults to TRUE). |
Returns (invisibly) a data frame containing the predictor values and conditional responses (means and standard deviations).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.