ellnotate: Convenience function to label rarity plots with scaling...

View source: R/balance.R

ellnotateR Documentation

Convenience function to label rarity plots with scaling exponent

Description

Convenience function to label rarity plots with scaling exponent

Usage

ellnotate(title = NULL, l, unicode_in_title = TRUE, ...)

Arguments

title

Character string, or NULL.

l

Scaling exponent for the mean, can be any real number.

unicode_in_title

Logical, include unicode ell and its value.

...

Additional arguments passed to other functions.

Value

ggplot object

Examples

myp <- rarity_plot(1:10, 0)
myp +
 ellnotate("Hill-Shannon diversity", l = 0)


mikeroswell/MeanRarity documentation built on May 5, 2024, 4:50 p.m.