Description Usage Arguments Value Examples
Virtualize a forest inventory in forest text file to initialize TROLL model
1 2 3 4 5 6 7 8 | inventoryFromData(forest = getOption("RconTroll.forest"),
path = getOption("RconTroll.path"), overwrite = FALSE,
species = read.table(getOption("RconTroll.species"), header = TRUE, dec =
".", sep = "", row.names = 1), missing = getOption("RconTroll.missing"),
spcorrect = TRUE, data, plotcol = "n_parcelle", xcol = "Xutm",
ycol = "Yutm", censuscol = "campagne", spcol = c("Genre", "espece"),
dbhcol = "dbh_c", alivecol = "status", NV = 1, NH = 1, plots = c(1),
year = 1984, alive = 1)
|
forest |
int. path to the file to create |
path |
char. working directory |
overwrite |
logical. allow to overwrite existing input file |
species |
df. species trait values (can be open from external file) |
missing |
(logical, path). missing species should be save and where ? |
spcorrect |
logical. should species will try to be corrected |
data |
df. censuses data (can be open from external file) |
plotcol |
char. name of the column containing plot information |
xcol |
char. name of the column containing longitude information |
ycol |
char. name of the column containing latitude information |
censuscol |
char. name of the column containing census year information |
spcol |
char. name of the column(s) containing secies information (can be a vector if species and genus are split) |
dbhcol |
char. name of the column containing dbh information |
alivecol |
char. name of the column containing alive information |
NV |
int. vertical number of cells (nb per m) |
NH |
int. horizontal number of cells (nb per m) |
plots |
int/char. name or number of the plot to initialize on |
year |
int. year of the census to intialize on |
alive |
int/char/logical. code corresponding to alive tree |
virtual forest inventory for the TROLL program (forest.txt)
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.