calc_PPR_scaled: Scale PPR index by total primary production

Description Usage Arguments Details Value

Description

Total primary production (PP) should be in units mtC year^-1, since PPR has units mtC year^-1. The ratio of PPR:PP is then returned

Usage

1
2
3
4
5
6
7
8
calc_ppr_scaled(
  PPR,
  PP,
  pprField = "INDEX",
  yearFieldPPR = "YEAR",
  ppField = "ANNUAL_MTON",
  yearFieldPP = "YEAR"
)

Arguments

PPR

Data frame (n x 2). Primary production required index over time. Two columns YEAR and INDEX

PP

List. First element labeled PP is a Data frame of size (n x 2). Columns YEAR, ANNUAL_MEAN. Second element labeled EPUarea is the area of the region

pprField

Character string. The name of the field in PPR which contains the PPR index data.

yearFieldPPR

Character string. The name of the field in PPR which contains the Year.

ppField

Character string. The name of the field in PP which contains the PP data.

yearFieldPP

Character string. The name of the field in PP which contains the Year.

Details

Units: Percentage

Value

Data frame (n x 7)

YEAR

Year of scaled index

SCALEDINDEX

Ratio of PPR:PP


andybeet/indexPPR documentation built on March 18, 2021, 12:33 p.m.