Learn R Programming

red (version 1.6.1)

rli.predict: Prediction of Red List Index.

Description

Linearly interpolates and extrapolates RLI values to any years.

Usage

rli.predict(rliValue, from = NA, to = NA, rliPlot = FALSE)

Value

A matrix with the RLI values and confidence limits.

Arguments

rliValue

Should be a vector with RLI values and names as the corresponding year numbers.

from

Starting year of the sequence to predict.

to

Ending year of the sequence to predict.

rliPlot

Plots the result

Details

The IUCN Red List Index (RLI) (Butchart et al. 2004, 2007) reflects overall changes in IUCN Red List status over time of a group of taxa.

Examples

Run this code
rliValue <- c(4.5, 4.3, 4.4, 4.2, 4.0)
names(rliValue) <- c(2000, 2004, 2008, 2011, 2017)
rli.predict(rliValue, 1990, 2020)

Run the code above in your browser using DataLab