Description Usage Arguments Value Examples
Main routine to format, detect major obvious errors, and gap-fill those errors in ForestGEO-like data.
1 2 3 4 5 |
path |
String giving a path to a parent directory containing species and census datasets. |
stem |
|
site |
String giving the name of your site – one of one of
|
dbh_units |
set the unit ("mm" or "cm") of DBH values, by default dbh_units=="mm". |
WD |
Optional, provide an external data.frame of wood densities by species. |
taper_correction |
|
fill_missing |
|
use_palm_allometry |
|
flag_stranglers |
|
dbh_stranglers |
(optional) Minimal diameter (in mm) of strangler figs, default = 500. |
maxrel |
A numeric value: the threshold for flagging major errors in
productivity, applied as |
write_errors_to |
A string giving a directory with the format "path/to/file" (without extension) to output all records for trees with major errors in productivity to a csv file. Defaults to not write such a file. |
graph_problems_to |
A string giving a directory with the format "path/to/file" (without extension) to output graphs showing problematic trees. The output may be multiple files, for example: path/to/file_1.pdf,path/to/file_2.pdf, path/to/file_3.pdf, and so on. Defaults to not write such files. |
exclude_interval |
|
A data.table (data.frame) with all relevant variables.
1 2 3 4 5 | data_preparation(
path = agb_example("data"),
site = "barro colorado island",
stem = TRUE
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.