Description Usage Arguments Value See Also Examples
Plots a daily timeseries of every Hi-sAFe output variable in a specified output profile. All plots are saved as png files to a specifified output path.
1 | diag_hisafe_ts(hop, profile, output.path = NULL, ...)
|
hop |
An object of class "hop" or "face" containing output data from one or more Hi-sAFe simulations. |
profile |
The profile for which to plot a timeseries. One of 'trees', 'plot', 'climate', or 'cells'. |
output.path |
A character string indicating the path to the directory where plots should be saved.
Plots are saved in a subdirectory within this directory named by |
... |
Other arguments passed to |
Invisibly returns a list of ggplot
objects. If hop
contains
data from more than one Hi-sAFe simulation, the plots will contain multiple lines, colored and labeled by SimulationName.
If the data contains two more tree ids, the plots will be faceted by tree id.
Other hisafe diagnostic fucntions:
diag_hisafe_annualcells()
,
diag_hisafe_cells()
,
diag_hisafe_monthcells()
,
diag_hisafe_voxels()
1 2 3 4 5 6 7 8 | ## Not run:
# After reading in Hi-sAFe simulation data via:
mydata <- read_hisafe(path = "mydir", simu.names = "MySimulation")
# You can create a daily timeseries of every trees variable:
diag_hisafe_ts(mydata, "trees")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.