Usage Arguments Value Author(s) See Also Examples
1 | tree_coordinates(file, a = 25, biomasslargetrees = 10, decade = 30, oldtrees = NULL, silent = TRUE)
|
file |
LandClim output file, e.g. fullOut_30.csv. |
a |
Resolution of LandClim cells in meters, e.g. 25. |
biomasslargetrees |
Biomass in tons. Trees larger than the given value will be placed on a wider grid than the others. |
decade |
|
oldtrees |
Optional. Tree coordinates created by the same function, but "before" to preserve ids and coordinates. |
silent |
TRUE/FALSE |
Data frame with coordinates for trees, ready to use in plot_forest
.
Klara Dolos
1 2 3 4 5 | trees <- tree_coordinates(file=system.file("fullOut_50.csv", package = "LandClimTools"), a=25)
### Function also creates tree ID for su
## oldtrees <- tree_coordinates(file=paste(path, "fullOut_49.csv", sep=""), a=25, decade=39, oldtrees=NULL)
## trees <- tree_coordinates(file=paste(path, "fullOut_50.csv", sep=""), a=25, decade=40, oldtrees=oldtrees)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.