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

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.

Value

Data frame (n x 7)

YEAR

Year of scaled index

SCALEDINDEX

Ratio of PPR:PP

Details

Units: Percentage