Description Usage Arguments Details Examples
View source: R/drawSubmodelEffects.R
Draws the effect of individual variables on the predictions of a specific submodel of forest dynamics
1 2 3 4 5 6 | drawSubmodelEffects(
species,
submodel = "growth",
predictor = "DBH",
rem.flat = TRUE
)
|
species |
Character vector of species codes to be studied. |
submodel |
Submodel to be studied. Either |
predictor |
String with the predictor whose effect is to be studied:
|
rem.flat |
A flag to indicate that species with no response to the chosen predictor should be excluded from the plot |
The function uses species mean values for the non-target predictors. Ingrowth is modelled in two stages. Hence, the effect of particular predictors can be drawn for: (a) the binomial model to predict presence of ingrowth ('ingrowthB' or 'ingrowthBdisp'); (b) the density of ingrowth conditional to presence ('ingrowthN' or 'ingrowthNdisp'); (c) the density of ingrowth resulting from multiplying the two previous predictions ('ingrowth' or 'ingrowthdist'). In addition, two sets of ingrowth models are provided, either without or including dispersal effects.
1 2 3 4 5 6 | pines = c("21", "22", "23", "24", "25", "26", "27","28","31","17")
oaks = c("45", "46", "44", "41", "43", "71","72")
other = c("51", "55","60", "73", "3","37", "38", "36", "83", "80")
drawSubmodelEffects(species = pines, predictor = "DBH", submodel = "growth")
drawSubmodelEffects(species = oaks, predictor = "DBH", submodel = "growth")
drawSubmodelEffects(species = other, predictor = "DBH", submodel = "growth")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.