plot.mulTree | R Documentation |
mulTree
resultsPlots a boxplots of the terms of a mulTree
analysis.
## S3 method for class 'mulTree'
plot(
mulTree.summary,
terms,
cex.terms,
cex.coeff,
horizontal = FALSE,
ylim,
col,
...
)
mulTree.summary |
A |
terms |
An optional vector of terms labels. |
cex.terms |
An optional value for the size of the terms labels. |
cex.coeff |
An optional value for the size of the coefficients labels. |
horizontal |
Whether to plot the results horizontally ( |
ylim |
Optional, the y limits of the plot. |
col |
Optional, the color of the plot. |
... |
Any additional arguments to be passed to |
Thomas Guillerme
mulTree
, read.mulTree
, summary.mulTree
## read in the data
data(lifespan.mcmc)
## summarising the results
summarized_data <- summary(lifespan.mcmc)
## plotting the results
plot(summarized_data)
## Same plot using more options
plot(summarized_data, horizontal = TRUE, ylab = "", ylim = c(-2,2),
main = "Posterior distributions", cex.terms = 0.5, cex.coeff = 0.8,
terms = c("Intercept", "BodyMass", "Volancy", "Phylogeny", "Residuals"),
col = c("red"), cex.main = 0.8)
abline(v = 0, lty = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.