defineMixedStrata: Mixed stratum definiton

View source: R/defineStrata.R

defineMixedStrataR Documentation

Mixed stratum definiton

Description

Define some strata by height and other by category

Usage

defineMixedStrata(
  name = "Strata by height or category",
  description = paste0("Vegetation strata defined by height in m",
    " and other strata by category"),
  citationString = "",
  DOI = "",
  heightStrataBreaks = c(0, 1, 3, 5),
  heightStrataUnit = "m",
  heightStrataNames = c("s1", "s2", "s3"),
  categoryStrataNames = "s4",
  heightStrataDefinitions = NULL,
  categoryStrataDefinitions = NULL,
  order = NULL
)

Arguments

name

A string to identify the stratum definition.

description

A string describing how strata are defined.

citationString

A string with the bibliographic reference for the method.

DOI

A string with the DOI of a resource describing the method.

heightStrataBreaks

A numeric vector with height limits between height strata (of length equal to the number of height strata plus one).

heightStrataUnit

A string to identify height units.

heightStrataNames

A numeric vector of stratum codes (of length equal to the number of height strata).

categoryStrataNames

A numeric vector of categorical stratum codes (of length equal to the number of categorical strata).

heightStrataDefinitions

A character vector with height strata definitions

categoryStrataDefinitions

A character vector with category strata definitions

order

A numeric vector to specify order strata (indices starting from height strata and continuing with category strata).

Value

An object of class VegXStrataDefinition

See Also

Other define strata functions: defineCategoricalStrata(), defineHeightStrata()

Examples

strataDef = defineMixedStrata(name = "Recce strata",
                 description = "Standard Recce stratum definition",
                 citation = "Hurst, JM and Allen, RB. (2007) 
                     The Recce method for describing New Zealand vegetation – Field protocols. 
                     Landcare Research, Lincoln.",
                 heightStrataBreaks = c(0, 0.3,2.0,5, 12, 25, 50),
                 heightStrataNames = paste0("Tier ",1:6),
                 categoryStrataNames = "Tier 7")

miquelcaceres/VegX documentation built on Sept. 18, 2022, 7:04 p.m.