plot.beset: Plot Methods for 'beset' Objects

View source: R/methods_plot.R

plot.besetR Documentation

Plot Methods for beset Objects

Description

Plot Methods for beset Objects

Usage

## S3 method for class 'beset'
plot(x, metric = "auto", se = TRUE, ...)

Arguments

x

An object of class "beset_glm", "beset_zeroinfl", or "beset_elnet"

metric

Character string giving the performance metric to plot. Can be one of "auc" for area under the (ROC) curve (only available for binomial family), "mae" for mean absolute error (not available for binomial family), "mce" for mean cross entropy, "mse" for mean squared error, or "rsq" for R-squared. Default is "auto" which plots MSE for Gaussian-family models and MCE for all other families.

se

Logical indicating whether or not to plot error bars. TRUE by default.


jashu/beset documentation built on April 20, 2023, 5:28 a.m.