plotVariancePartitioning {Hmsc} | R Documentation |
plotVariancePartitioning
Description
Plots the results of variance partitioning of a Hmsc
model produced by
computeVariancePartitioning
as a barplot
Usage
plotVariancePartitioning(
hM,
VP,
cols = NULL,
main = "Variance Partitioning",
...
)
Arguments
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 |
Examples
# Plot how the explained variance of a previously fitted model is partitioned
VP = computeVariancePartitioning(TD$m)
plotVariancePartitioning(TD$m, VP)
[Package Hmsc version 3.0-13 Index]