seesaw_sugar | R Documentation |
ggplot sugar for rarity plots
seesaw_sugar(title = NULL, l, unicode_in_title = TRUE, ...)
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. |
ggplot objects to add to rarity plot
p1 <- rarity_plot(1:10, l = 0)
p1
p1 + seesaw_sugar(title = "Hill-Shannon diversity"
, l = 0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.