mean_height | R Documentation |
Calculate the vegetation height
mean_height(
height_tall,
method = "mean",
omit_zero = TRUE,
by_line = FALSE,
tall = FALSE,
...
)
height_tall |
A tall/long-format data frame. Use the data frame |
method |
Character string. Indicates the type of indicator, |
omit_zero |
Logical. If |
by_line |
Logical. If |
tall |
Logical. If |
... |
Optional bare variable names. One or more variable name from |
# Gather height data into tall format
height_tall <- gather_height(dsn = "Path/To/LMF_Geodatabase.gdb",
source = "LMF")
# Calculate woody and herbaceous height (specified in "type" field)
# All arguments must be named explicitly for this function to work correctly
height <- mean_height(height_tall,
method = "mean",
omit_zero = FALSE,
by_line = FALSE,
tall = FALSE,
type)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.