plot_sbt_static: Plot a trend for a specific Swedish bird species using an...

Description Usage Arguments Value Examples

Description

Plot a trend for a specific Swedish bird species using an static graph

Usage

1
2
3
plot_sbt_static(species, df = birdtrends, loess = FALSE,
  series = c("Vinter", "Sommar", "Standard", "Natt"), showlegend = TRUE,
  theme = theme_few())

Arguments

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()

Value

a ggplot - static graph

Examples

1
2
3
plot_sbt_static("Häger")
plot_sbt_static("Havsörn", loess = TRUE)
plot_sbt_static("Duvhök", loess = TRUE, series = "Vinter")

mskyttner/swedishbirdtrends documentation built on May 23, 2019, 7:53 a.m.