Description Usage Arguments Value
makes predictive comparison summaries (APC and impact, absolute and signed) by forming an data frame of pairs with appropriate weights and then calling 'ComputeApcFromPairs'. Only works fore continuous inputs right now
1 | GetSingleInputPredComps(predictionFunction, X, u, v, ...)
|
predictionFunction |
this could be a function (which takes data frame and makes returns a vector of predictions) or an object of class 'lm', 'glm', or 'randomForest' |
X |
a data frame with all inputs |
u |
a string naming the input of interest |
v |
a string naming the other inputs |
... |
other arguments to be passed to 'GetPairs' |
a list with: signed
(the usual Apc) and
absolute
(Apc applied to the absolute value of the
differences)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.