View source: R/calculate_dendrometry.R
calculate_dendrometry | R Documentation |
This function calculates additional variables and makes aggregations of individual tree measures on the levels of
plot and year
plot, tree species and year
diameter class, plot and year
diameter class, plot, tree species and year
and it makes aggregations of volume data on logs on the levels of
decay stage, plot and year
decay stage, plot, tree species and year
calculate_dendrometry(
data_dendro,
data_deadwood,
data_shoots,
height_model,
plotinfo
)
data_dendro |
dataframe on tree measures with variables |
data_deadwood |
dataframe on logs with variables |
data_shoots |
dataframe on shoots as given from the function
|
height_model |
dataframe with |
plotinfo |
dataframe on surveyed plots with variables |
List of dataframes that are mentioned in the above description
library(forrescalc)
# (add path to your own fieldmap database here)
path_to_fieldmapdb <-
system.file("example/database/mdb_bosres.sqlite", package = "forrescalc")
data_dendro <- load_data_dendrometry(path_to_fieldmapdb)
data_deadwood <- load_data_deadwood(path_to_fieldmapdb)
data_shoots <- load_data_shoots(path_to_fieldmapdb)
# omit argument 'example_dataset = TRUE' below to use all height models
height_model <- load_height_models(example_dataset = TRUE)
plotinfo <- load_plotinfo(path_to_fieldmapdb)
calculate_dendrometry(
data_dendro, data_deadwood, data_shoots, height_model, plotinfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.