
Plot how the evaluation changes with the cross-validation design
Source:R/cv_designs.R
plot_cv_sensitivity.RdThe metric of every model under each design, models joined by lines.
Arguments
- x
A
cv_sensitivityobject.- base_size
Base font size.
- file
Optional file(s) to save the plot to, e.g.
"fig.pdf"orc("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).
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