Description Usage Arguments Value Examples
Plot a trend for a specific Swedish bird species using an static graph
1 2 3 | plot_sbt_static(species, df = birdtrends, loess = FALSE,
series = c("Vinter", "Sommar", "Standard", "Natt"), showlegend = TRUE,
theme = theme_few())
|
species |
a character vector with the vernacular name of the species |
df |
optional data frame with bird trend data, defaults to the bundled birdtrends |
loess |
boolean indicating whether to use loess smoothing for the trend |
series |
a character vector with the routes to include, by default Winter, Summer, Standard and Night routes |
showlegend |
boolean to show the color legend, by default TRUE |
theme |
a ggplot theme from the ggtheme package, by default theme_few() |
a ggplot - static graph
1 2 3 | plot_sbt_static("Häger")
plot_sbt_static("Havsörn", loess = TRUE)
plot_sbt_static("Duvhök", loess = TRUE, series = "Vinter")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.