randomstand {Maeswrap} | R Documentation |
Generate a simple random stand of trees
Description
Generates a stand of trees, given a LAI, stocking, and some basic allometry. Very simple implementation that will be expanded (and eventually rolled into Maes*).
Usage
randomstand(LAI = 2, height = 20, cwcl = 0.8, ALAC = 0.5,
stocking = 500, edge = 10, plotsize = c(25, 25), dbh = 0.3,
crownshape = c("ELIP", "BOX", "CONE", "PARA", "CYL"), path = "",
maxnotrees = 25)
Arguments
LAI |
Leaf area index of the stand (m2 m-2) |
height |
Total tree height (m) |
cwcl |
The ratio of crown width to crown length |
ALAC |
The ratio of tree leaf area to crown surface area (m2 m-2) |
stocking |
Number of trees per hectare |
edge |
An extra edge to be placed around the plot (in addition to plotsize!) |
plotsize |
The size of the plot (m), as a vector (x,y) |
dbh |
Trunk diameter (not relevant, just for plotting) (m) |
crownshape |
One of the Maestra crown shapes |
path |
Path to the directory where the Maestra files should be modified |
maxnotrees |
Maximum number of target trees to be set in confile.dat (affects Maestra radiation calculations, not the plot and tree layout) |
Examples
## Not run:
# Assuming your working directory contains the Maestra input files,
randomstand()
Plotstand()
## End(Not run)
[Package Maeswrap version 1.7 Index]