View source: R/cohort.establish.r
cohort.establish | R Documentation |
Determines the tree species after forest dieback
cohort.establish(land, clim, params)
land |
A |
clim |
A data frame with minimum temperature (in ºC), maximum temperature (in ºC), and precipitation (in mm) per location |
params |
A list of model parameters, default ones are generated by the function |
A data frame with the new species and sqi for after drought-induced mortality
data(landscape) data(clim) land = dplyr::left_join(landscape, sdm.sqi(landscape, clim), by="cell.id") killed.cells = drought(land, 10, 1) land$tsdist[land$cell.id %in% killed.cells] = 0 land$typdist[land$cell.id %in% killed.cells] = "drght" params = default.params() x = cohort.establish(land, clim, params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.