Description Usage Arguments Value See Also Examples

Calculate partial dependence of a response on select predictor variables.

1 2 3 | ```
dependence(object, data = NULL, select = NULL, interaction = FALSE,
n = 10, intervals = c("uniform", "quantile"),
stats = MachineShop::settings("stats.PartialDependence"))
``` |

`object` |
model fit result. |

`data` |
data frame containing all predictor variables. If not specified, the training data will be used by default. |

`select` |
expression indicating predictor variables for which to compute
partial dependence (see |

`interaction` |
logical indicating whether to calculate dependence on the interacted predictors. |

`n` |
number of predictor values at which to perform calculations. |

`intervals` |
character string specifying whether the |

`stats` |
function, function name, or vector of these with which to compute response variable summary statistics over non-selected predictor variables. |

`PartialDependence`

class object that inherits from
`data.frame`

.

1 2 3 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.