Description Usage Arguments Value Examples
This function generates rsf scores/effect plots
1 2 3 4 |
formu |
formula without an response such as ~ x1 + x2 |
pop_size |
integer defining the number of individuals |
base_ |
vector of numerics as the parameters coefficients |
pred_choice |
vector of integers defining the set of predictors originally selected |
n_preds |
integer defining total number of predictors, quadratic conditions and interactions |
n_preds_original |
integer defining the number of predictors |
gridsize |
integer determining size of the map |
predictors_ |
matrix of predictors |
ind_sd |
integer as the standard deviation of the normal distribution with a mean of 1 that is multiplied with the parameter coefficients |
n_values |
integer as the length of the min - max - sequence of a predictor (x-axis of an effect plot) |
uc_type |
character defining the type of uncertainty, "both", "marg" and "cond" are possible |
mode |
character defining wether effect plots should be generated or if the function is used inside a bootstrap. "plot" and "bootstrap" are possible |
param_list |
list of parameters for shorter lines, see code for details |
In plot mode it returns a data.frame with quantiles suitable for ggplot2 and the plot itself, in bootstrap mode it returns an array with non-aggregated rsf-scores.
1 | plot.truth()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.