get_ipft: Get PFT index (starting from 1) of a PFT vector

Description Usage Arguments Value Author(s)

View source: R/get_ipft.R

Description

Thin wrapper around [base::match] with some additional error checking.

Usage

1
get_ipft(pft, pft_dict = c(9, 10, 11, 6, 8))

Arguments

pft

Integer vector of original (ED) PFT numbers

pft_dict

Integer vector describing the order of PFTs (first PFT is index 1, second PFT is index 2, etc.)

Value

Vector of PFTs

Author(s)

Alexey Shiklomanov


ashiklom/edr-da documentation built on April 16, 2021, 9:33 p.m.