Skip to contents

The metric of every model under each design, models joined by lines.

Usage

plot_cv_sensitivity(
  x,
  base_size = 11,
  file = NULL,
  width = 2100,
  height = 1350
)

Arguments

x

A cv_sensitivity object.

base_size

Base font size.

file

Optional file(s) to save the plot to, e.g. "fig.pdf" or c("fig.png", "fig.pdf"); the format follows the extension, and a name without extension is saved as PNG and PDF.

width, height

Size of the saved figure in pixels (PDF and SVG at 300 pixels per inch).

Value

A ggplot object.

References

Roberts, D.R., Bahn, V., Ciuti, S., et al. (2017) Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure. Ecography 40, 913-929. doi:10.1111/ecog.02881

See also

Examples

# see ?cv_sensitivity