precip_slr {dilp}R Documentation

Estimate precipitation with simple linear regression

Description

precip_slr() will produce estimates of mean annual precipitation and standard error using leaf area analysis.

Usage

precip_slr(
  data,
  regression = "Peppe2018",
  slope = NULL,
  constant = NULL,
  error = NULL
)

Arguments

data

A data frame that must include the columns "morphotype", "leaf_area", and "specimen_number". Must be species level data.

regression

A string representing one of the following pre-loaded regressions:

  • "Peppe2018" - for global precipitation estimates

  • "Peppe2011" - The Americas, Japan, and Oceania

  • "Jacobs2002" - Africa

  • "Wilf1998" - The Americas and Africa

slope

Slope, if using a custom regression

constant

Constant, if using a custom regression

error

Standard error, if using a custom regression

Value

A table with MAP estimates for each site

References

Examples

precip_slr(McAbeeExample, regression = "Peppe2011")

[Package dilp version 1.1.0 Index]