plot.asb: Plot objects generated with as_biomonitor

View source: R/plot_asb.R

plot.asbR Documentation

Plot objects generated with as_biomonitor

Description

Plot 2 taxonomic levels using a sunburst visualization.

Usage

## S3 method for class 'asb'
plot(
  x,
  parent = "Order",
  child = "Family",
  type = "pa",
  remove_empty_child = FALSE,
  trans = NULL,
  ...
)

Arguments

x

Result of as_biomonitor().

parent

Name of the coarser taxonomic level.

child

Name of the finer taxonomic level.

type

Plot present-absence data with pa, abundance data with abundance and detection probabilities with frequency.

remove_empty_child

Remove empty level of the child taxonomic level.

trans

Transformation for abundance data.

...

Further arguments to be passed to plot.

Examples

data(macro_ex)
data_bio <- as_biomonitor(macro_ex)
plot(data_bio)

alexology/biomonitoR documentation built on Oct. 10, 2024, 12:02 a.m.