Partition a Handler into Domains
Description
Section titled “Description”Broadly, domains are unique subpopulations of inventory components (e.g.,
trees, etc). Domains are formed by unique combinations of domain variables,
which are typically integer- or categorical-valued columns in the underlying
tables. This function allows the users to specify domain variables across
the handler. Canonical examples include species (SPCD), ownership (OWNCD)
and others.
Details
Section titled “Details”Domains are specified for a table using the associated helper. For example,
partition(tree(SPCD, STATUSCD)) would set the tree-level domains to be
unique combinations of SPCD and STATUSCD. Columns added during
transform() can be used as domain variables as well. Multiple helpers can
be mixed in a single call, such as partition(tree(SPCD), cond(OWNCD)).
partition(handler, ...)Arguments
Section titled “Arguments”handler: A handler object....: Scoped domain variable names usingtree(),cond(), orplot()helpers.
The handler with domain variables set.
Examples
Section titled “Examples”# Set tree-level domains to be unique combinations of species and status codehandler |> partition(tree(SPCD, STATUSCD))