Description Usage Arguments Details
View source: R/get_influence.R
If method
is 'add'
then the baseline prediction is made using just the
constant coefficients (if used) and the mean squared error (MSE) is measured between
the baseline and predictions made with each predictor added alone (univariate analysis).
1  get_influence(m, d, method = "sub", interactions = TRUE)

m 

d 

method 
string 'sub' or 'add' indicating whether to start with a full or empty feature vector and remove or add features to judge their influence. 
interactions 
logical indicating whether to get influence for twoway interactions between predictors (def: sub) 
If method
is 'sub'
then the baseline is made using all predictors and
MSE measured for predictions made with each predictor removed.
If interactions==TRUE
then MSE for predictions made with predictors for each mode
interacting are measured
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.