getPrimary: Function trace back to the primary item starting from an...

Description Usage Arguments

Description

Function trace back to the primary item starting from an edge-item. It uses the commodity tree to go back level by level untill the first one.

Usage

1
getPrimary(edge, tree, standParams)

Arguments

edge

a CPC (or a vector of CPC codes)

tree

Commodity tree, data.table

standParams

computation parameters


ncwanner/Production_Validation documentation built on May 8, 2019, 1:48 p.m.