Description Usage Arguments Value Author(s) See Also
Reads a Yplant leaf file (.l or .lf) into an object of class leaffile
.
NOTE: if there are more than one leaf type type in the leaffile, it only reads the first one. At the moment, YplantQMC only uses one leaf file for all leaves in the canopy.
Contrary to the original Yplant, readl
is a bit picky with leaffiles: there must be a point
in the leaffile where X=0 (apart from the first and last points), which is used to find the 'midrib',
which in turn is used to calculate leaf length.
1 |
lfile |
Name of the leaf file (character string). |
An object of class leaffile
. Currently, only a plot method exists (see plot.leaffile
).
Remko Duursma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.