Description Usage Arguments Value See Also
This function takes a fitted boral model and returns a data frame to use
with ggplot to draw 'caterpillar plots' of regression coefficients.
It is used by function gg_coefsplot
but you can also use it
directly.
1 | gg_coefsplot_data(model)
|
model |
A boral model fitted with one or more latent variables. |
A data frame to use with ggplot that has the following columns:
y variable labels (e.g. species names)
X (explanatory) variable names
lower bound of the 95 for coefficient value
upper bound of the 95 for coefficient value
median coefficent value
Factor variable based on label with levels in reverse order so that graphs will show, for example, species names in A-Z order from top to bottom.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.