plotVariancePartitioning | R Documentation |
Plots the results of variance partitioning of a Hmsc
model produced by
computeVariancePartitioning
as a barplot
plotVariancePartitioning(
hM,
VP,
cols = NULL,
main = "Variance Partitioning",
...
)
hM |
a fitted |
VP |
a Hmsc variance partitioning object produced by |
cols |
colors of the barplot |
main |
main title for the plot |
... |
additional parameters passed to the barplot function |
# Plot how the explained variance of a previously fitted model is partitioned
VP = computeVariancePartitioning(TD$m)
plotVariancePartitioning(TD$m, VP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.