Description Usage Arguments Details Value See Also Examples
Plots an annual barchart of tree carbon pools, water fluxes, nitrogen fluxes, or light capture.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
hop |
An object of class hop or face. |
cycle |
One of "carbon", "nitrogen", "water", "light", or "yield". |
freq |
One of "year", "month", "day". |
simu.names |
A character vector of the SimulationNames within |
tree.ids |
A numeric vector indicating a subset of tree ids to plot. Use "all" to include all available values.
This only applies when |
doy.start |
The JulianDay [1-365] on which to start the annual cycle accounting. Use 'sim' to specify the starting JulianDay of the simulation. |
color.palette |
A character string of hex values or R standard color names defining the color palette to use in plots with multiple simulations.
If |
bar.color |
A hex value or R standard color name defining the color to use for bar plot borders |
crop.names |
A character vector of length 2 containing the names to use in the legend for the mainCrop and interCrop of Hi-sAFe, in that order. |
plot |
If |
tidy |
If |
year.lim |
A numeric vector of length two providing the |
Detailed description of the flux components of the nitrogen and water cycles:
NITROGEN
"Uptake - Trees" - nitrogen uptake by trees
"Uptake - Inter crop" - nitrogen uptake by main crop
"Uptake - Main crop" - nitrogen uptake by inter crop
"Gaseous losses" - gaseous nitrogen losses via nitrification, denitrification, and volatilization of mineral/organic fertilizer inputs
"Run-off" - nitrogen contained in rain water (wet deposition) that runs off the scene
"Leaching" - nitrate leaching via the (1) bottom of the scene, (2) artificial drainage pipes, and (3) losses to the water table when the nirate concentration in the water table is lower than the nitrate concentration of voxels that it saturates
"Fertilization" - mineral nitrogen added by both mineral & organic fertilizers, plus organic nitrogen added by organic fetilizers
"Irrigation" - nitrogen added via irrigation water
"Deposition" - nitrogen added via wet deposition
"Fixation" - nitrogen added via fixation by crops
"Litter" - nitrogen added to soil via aerial and root litter from both trees and crops
"Water table" - nitrogen added by the water table when the nirate concentration in the water table is higher than the nitrate concentration of voxels that it saturates
WATER
"Uptake - Trees" - water uptake by trees
"Uptake - Inter crop" - water uptake by main crop
"Uptake - Main crop" - water uptake by inter crop
"Interception" - rain water intercepted by both tree and crop canopies (and then subsequently evaporated off)
"Run-off" - rain & irrigation water that runs off the scene (including both the "surface" run-off associated with soil surface conditions plus the "overflow" runoff associated with saturation of the top soil layer and lack of infiltribility)
"Soil evaporation" - water evaporated from (1) soil and (2) intercepted rain held in litter/mulch on soil surface
"Drainage" - water drainage (1) out of the bottom of the scene and (2) into artificial drainage pipes
"Irrigation" - water added via irrigation
"Water table" - water added to soil when the water table saturates voxels (the water added is the difference between field capacity and the current water content of the voxel)
"Precipitation" - precipitation (rain & snow)
If plot = TRUE
, returns a ggplot object. If plot = FALSE
, returns the data that would create the plot.
If hop
contains more than one simulation, the plot will be faceted by SimulationName.
Other hisafe analysis functions:
LER_summary()
,
LER()
,
analyze_hisafe()
,
cycle_summary()
,
hisafe_budget()
,
plot_hisafe_cycle_ts()
,
stics_budget_comp()
,
write_hop()
1 2 3 4 5 6 7 8 9 | ## Not run:
# To plot the simulated water cycle:
water.plot <- plot_hisafe_cycle_bar(myhop, "water")
# Once you have the plot object, you can display it and save it:
water.plot
ggsave_fitmax("water_cycle.png", water.plot)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.