Description Usage Arguments Value Examples
View source: R/drawStandDynamics.R
Simulates stand dynamics and plots the temporal series of a stand-level variable.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | exampleStandDynamics(
species,
prov = 8,
initialDBH = NULL,
numSteps = 20,
SWHC = 150,
Rad = 25,
Temp = 13,
Prec = 900,
PET = 1000,
slope = 0,
elevation = 100,
testClimateChange = FALSE,
...
)
|
species |
Character vector of species codes to be studied. |
prov |
A character or integer of Spanish province between 1 and 50. Rellevant for regionalized species models. |
initialDBH |
Numeric vector with initial diameter values (in cm). Initial density associated to each tree record will depend on diameter. |
numSteps |
Number of 10-yr steps to be simulated. |
SWHC |
Soil water holding capacity (mm). |
Rad |
Average daily radiation (MJ). |
Temp |
Mean annual temperature (degrees C). |
Prec |
Mean annual precipitation (mm) |
PET |
Mean annual potential evapotranspiration (mm) |
slope |
Slope in degrees. |
elevation |
Elevation (m.a.s.l.). |
testClimateChange |
Boolean flag to include simulations with altered climate |
A list with two elements:
standDynamics
: A list with one data frame per species with the complete stand dynamics (tree data per step).
finalStates
: A list with one data frame per species with the final tree data at the end of the simulation.
1 2 3 4 | pines = c("21", "22", "23", "24", "25", "26", "27","28","31","17")
oaks = c("45", "44", "41", "43", "71","72")
other = c("51", "55","60", "73", "3","37", "83", "80")
sdyn = exampleStandDynamics(species=pines, numSteps = 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.