Description Usage Arguments Details Value Note Author(s) See Also
Produce a report containing standard graphs and summaries of YplantQMC objects. See Details for usage.
1 2 3 4 5 6 |
plant |
An object of class 'plant3d', see |
phy |
An object of class 'ypphy', see |
hemi |
An object of class 'yphemi', see |
met |
An object of class 'ypmet', see |
ypsim |
An object of class 'yplantsim', see |
filename |
Optional, the name of the output file |
This function produces a number of standard plots and prints of five different YplantQMC objects.
The plots cannot at the moment not be customized; please see below for the component functions
that generate the plots (these usually have more options for customization).
Or, modify the code of makereport
as you see fit.
To create a report, simply use this command:
1 2 | makereport(plant=myplant, met=asunnyday,
phy=eucleaf, hemi=mycanopy, ypsim=eucsim1)
|
Where myplant, asunnyday, eucleaf, mycanopy and eucsim1 are objects that you have already generated. The function is flexible : you can generate a report on a subset of the objects, for example only on the hemiphoto and the plant:
1 | makereport(plant=myplant, hemi=spruceforest)
|
You may want to check out the following functions, which are used in makereport
:
viewplot
Produces a three-panel plot with side and top views of the plant.
summary.plant3d
Summarizes a plant
setHemi
Reads a hemiphoto - also describes the plot function.
fitdistribution
Fits (and plots) a leaf angle distribution.
setMet
Constructs (and plots) a weather object.
plot.leaffile
Plots a leaf.
YplantDay
A daily Yplant simulation (and a standard plot).
A PDF is generated in the current working directory.
Note that makereport
might fail if you have a PDF open with the same name (as you may have
generated this report once before on the same day). Make sure to close the PDF before
running makereport
. If a PDF is generated that can't be opened, use this command:
1 | dev.off()
|
And try again.
Remko Duursma
plot.plant3d
,viewplot
,YplantDay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.