Description Usage Arguments Value Author(s)
View source: R/logisticDifferenceDf.R
a function that interates through model predictors to estimate impact
1 2 | logisticDifferenceDf(model, testObs, refData, className = NULL, p = 0.1,
seed = 2012, verbose = TRUE)
|
model |
a model of class glm, rpart or ranger |
testObs |
a data frame with one row to predict with the model |
refData |
a data frame with columns included in model |
className |
name of the class column used for stratitifed resampling |
p |
percent of the refData to keep in the sample |
seed |
random sampleing seed |
verbose |
print debugging output |
a vector of estimated absolute influences
Matthew Davis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.