logisticDifference: Logistic Difference

Description Usage Arguments Value Author(s)

View source: R/logisticDifference.R

Description

a function that interates through model predictors to estimate impact

Usage

1
2
logisticDifference(model, testOb, mydata = NULL, refOb = NULL,
  verbose = FALSE)

Arguments

model

a model of class glm, rpart or ranger

testOb

a data frame with one row to predict with the model

mydata

a data frame with columns included in model

refOb

a data frame with one row for a reference observation

verbose

print debugging output

Value

a vector of estimated absolute influences

Author(s)

Matthew Davis


mdavis29/modelToolKit documentation built on May 22, 2019, 3:22 p.m.