View source: R/prepare_input.R
prepare_input | R Documentation |
Checks and prepares all input tables to be used in run_3PG
. For detailed descriptions see Forrester (2020).
prepare_input(site, species, climate, thinning = NULL, parameters = NULL,
size_dist = NULL, settings = NULL)
site |
table containing the information about site conditions.
|
species |
table containing the information about species level data. Each row corresponds to one species/cohort.
|
climate |
table containing the information about monthly values for climatic data. If the climate table has exactly 12 rows it will be replicated for the number of years and months specified by
|
thinning |
table containing the information about thinnings. If there is no thinning, it must be
|
parameters |
table containing the information about parameters to be modified. Values that are not provided are replaced by defaults.
|
size_dist |
table containing the information about size distribution to be modified. Values that are not provided are replaced by defaults.
|
settings |
a list with settings for the model. Values that are not provided are replaced by defaults.
|
This function checks and prepares the input data for the run_3PG
. The output is a list with 7 tables. Each of them corresponds to the one from input.
a list with seven tables. Each table corresponds to one of the input tables.
Forrester, D. I., 2020. 3-PG User Manual. Swiss Federal Institute for Forest, Snow and Landscape Research WSL, Birmensdorf, Switzerland. 70 p. Available at the following web site: http://sites.google.com/site/davidforresterssite/home/projects/3PGmix/3pgmixdownload
Sands, P. J., 2010. 3PGpjs user manual. Available at the following web site: https://3pg.sites.olt.ubc.ca/files/2014/04/3PGpjs_UserManual.pdf
run_3PG
, prepare_parameters
, prepare_sizeDist
, prepare_thinning
, prepare_climate
, prepare_site
prepare_input( site = d_site, species = d_species, climate = d_climate, d_thinning)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.