Description Usage Arguments Value Note Author(s) See Also
Produce a report containing standard graphs and summaries of YplantQMC objects. See Details for usage.
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 ypreport
as you see fit.
To create a report, simply use this command:
1 2 | ypreport(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 2 | ypreport(plant=myplant,
hemi=spruceforest)
|
You may want to check out the following functions, which are used in
ypreport
:
Produces a three-panel plot with side and top views of the plant.
Summarizes a plant
Reads a hemiphoto - also describes the plot function.
Fits (and plots) a leaf angle distribution.
Constructs (and plots) a weather object.
Plots a leaf.
A daily Yplant simulation (and a standard plot).
1 2 |
plant |
An object of class 'plant3d', see |
phy |
An object of class 'ypphy', see |
met |
An object of class 'ypmet', see |
hemi |
An object of class 'yphemi', see |
ypsim |
An object of class 'yplantsim', see |
filename |
Optional, the name of the output file |
A PDF is generated in the current working directory.
Note that ypreport
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 ypreport
. 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.