Description Usage Arguments Value Examples
Generate predictors_ from a landscape
1 2 | preds.from.ls(pred_choice, gridsize, code, n_preds_original, n_preds,
base_ = NA, formu, effect.size = 1)
|
pred_choice |
vector of integers defining the set of predictors originally selected |
gridsize |
integer determining size of the map |
code |
code (e.g. "110") to be used in simData, check FReibier::simData documentation for further help |
n_preds_original |
integer defining the number of predictors |
n_preds |
integer defining total number of predictors, quadratic conditions and interactions |
formu |
formula without an response such as ~ x1 + x2 |
effect.size |
max distance of the base coefficients to zero |
base |
vector of numerics as the parameters coefficients |
matrix of predicotrs and a map suitable for plotting with ggplot2
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.