prepare_sizeDist {r3PG} | R Documentation |
Prepare parameters table
Description
Prepares the parameters table, by either replicating the defaults or replicating defaults for each of the species.
Usage
prepare_sizeDist(size_dist = NULL, sp_names = c("Fagus sylvatica",
"Pinus sylvestris"))
Arguments
size_dist |
table containing the information about size distribution to be modified. Values that are not provided are replaced by defaults.
|
sp_names |
names of the species / cohorts used for the simulations.The 'sp_names' must be identical to those from |
Details
This function prepares the parameter table for run_3PG
.
Value
a data.frame with 47 rows and columns corresponding to each species.
See Also
run_3PG
, prepare_input
, prepare_parameters
, prepare_thinning
, prepare_climate
Examples
# replace some
prepare_sizeDist( size_dist = d_sizeDist[1:4,],
sp_names = c('Fagus sylvatica', 'Pinus sylvestris' ))
# Make default
prepare_sizeDist( size_dist = NULL, sp_names = c('Quercus', 'Abies'))
[Package r3PG version 0.1.6 Index]