Box plot of model evaluation data

Function to calculate deviance given two vectors of observed and predicted values. Requires a family argument which is set to binomial by default

1 2 |

`obs` |
a vector with observed values |

`pred` |
a vector with predicted values that correspond the the values in obs |

`weights` |
a vector of weight values |

`family` |
One of "binomial", "bernoulli", "poisson", "laplace", or "gaussian" |

`calc.mean` |
Logical. If |

John R. Leathwick and Jane Elith

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.