Description Usage Arguments Value
Creates a legend for hisafe_visual().
1 2 3 4 5 6 7 8 9 10 | visual_legend(
hop,
vars = list(crown.alpha = "leafArea", trunk.alpha = "carbonLabile", crop.alpha =
"lai", yield.alpha = "eai", voxel.alpha = "totalTreeRootDensity", voxel.border =
"cropRootDensity", voxel.L.size = "theta", voxel.C.size =
"totalTreeCoarseRootBiomass", voxel.R.size = "mineralNitrogenStock", voxel.L.alpha =
"totalTreeWaterUptake", voxel.C.alpha = "fineRootCost", voxel.R.alpha =
"totalTreeNitrogenUptake"),
cells.var = "relativeTotalParIncident"
)
|
hop |
An object of class hop. |
vars |
A list of variable names. See |
cells.var |
A character string of the name of the variable ploted by |
A ggplot object containing the legend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.