Skip to contents

Plots objects returned by algorithm_metrics

Usage

plot_alg_metrics(x, what = "spp", ...)

Arguments

x

list. Object returned by algorithm_metrics

what

What should be plotted, "species" or "site" metrics?

...

Additional parameters passed to plot

Author

Neander M. Heming

Examples

library(SESraster)
library(terra)
r <- load_ext_data()
am1 <- algorithm_metrics(r, spat_alg = "bootspat_naive", spat_alg_args=list(random="species"))
am2 <- algorithm_metrics(r, spat_alg = "bootspat_naive", spat_alg_args=list(random="site"))
plot_alg_metrics(am1)

plot_alg_metrics(am2)

plot_alg_metrics(am1, "site")