getSpeciesTable | R Documentation |
Biomass_core
moduleprepSpeciesTable
getSpeciesTable(url = NULL, dPath = tempdir(), cacheTags = NULL)
prepSpeciesTable(
speciesTable,
speciesLayers = NULL,
sppEquiv = NULL,
sppEquivCol = "LandR",
areas = c("BSW", "BP", "MC")
)
url |
If NULL (the default), uses one from D. Cyr's LANDIS-II files: https://github.com/dcyr/LANDIS-II_IA_generalUseFiles/master/speciesTraits.csv). |
dPath |
The destination path. |
cacheTags |
User tags to pass to |
speciesTable |
A species traits table, with at least the following columns:
|
speciesLayers |
Deprecated. |
sppEquiv |
table with species name equivalencies between the kNN and final naming formats.
See |
sppEquivCol |
the column name to use from |
areas |
A character vector of areas to use. Can be one or more of
|
getSpeciesTable()
returns a data.table
with columns LandisCode, Area, Longevity, Maturity, Shade, Fire, SeedEffDist, SeedMaxDist, VegProb, MinAgeVeg, MaxAgeVeg, PostFireRegen, LeafLongevity, WoodDecayRate, MortalityCurve, GrowthCurve, LeafLignin, HardSoft.
See assertSpeciesTableRaw()
for expected column data types.
prepSpeciesTable()
returns a data.table
with columns species, Area, longevity, sexualmature, shadetolerance, firetolerance, seeddistance_eff, seeddistance_max, resproutprob, resproutage_min, resproutage_max, postfireregen, leaflongevity, wooddecayrate, mortalityshape, growthcurve, leafLignin, hardsoft.
See assertSpeciesTable()
for expected column data types.
This one is tailored to Canadian forests
assertSpeciesTableRaw()
assertSpeciesTable()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.