| plot.spacc_metrics | R Documentation |
Create visualizations of per-site accumulation metrics.
## S3 method for class 'spacc_metrics'
plot(
x,
metric = NULL,
type = c("heatmap", "points", "histogram"),
point_size = 3,
palette = "viridis",
...
)
x |
A |
metric |
Character. Which metric to plot. Default is first metric. |
type |
Character. Plot type:
|
point_size |
Numeric. Size of points in heatmap. Default 3. |
palette |
Character. Color palette for heatmap. One of |
... |
Additional arguments (unused). |
A ggplot2 object.
coords <- data.frame(x = runif(50), y = runif(50))
species <- matrix(rbinom(50 * 30, 1, 0.3), nrow = 50)
metrics <- spaccMetrics(species, coords, metrics = c("slope_10", "auc"))
plot(metrics, metric = "slope_10", type = "heatmap")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.