make_indextrend: Plot the Living Planet Index (LPI) trend

View source: R/utils_indextrend.R

make_indextrendR Documentation

Plot the Living Planet Index (LPI) trend

Description

Function to plot each taxonomic group's LPI trend through time, where all unselected groups' trends are plotted in grey in the background, while the selected taxonomic group is plotted in colour and with its confidence intervals. There is also a plotly functionality to see the LPI value for each year when hovering over the plot.

Usage

make_indextrend(target_taxa = "Tous")

Arguments

taxa

can take the inputs "tous" (all populations in Québec), "amphibiens" , "mammifères", "oiseaux", "poissons", "reptiles" from the Shiny user's input.

Value

A plotly of the Living Planet Index trend through time, with the selected taxonomic group highlighted and shown with confidence intervals.


ReseauBiodiversiteQuebec/tableaulpi documentation built on March 30, 2022, 1:46 p.m.