Description Usage Arguments Value Note
Plots a representation of the marginal posterior distribution of model parameters. Note this
function requires the packages ggplot2
and ggridges
to be installed.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
x |
A communityPGLMM object fit with |
sp.var |
The variable name of "species"; y-axis of the image. |
site.var |
The variable name of "site"; x-axis of the image. |
show.sp.names |
Whether to print species names as y-axis labels. |
show.site.names |
Whether to print site names as x-axis labels. |
digits |
Not used. |
predicted |
Whether to plot predicted values side by side with observed ones. |
... |
Further arguments to pass to or from other methods. |
n_samp |
Number of sample from the marginal posterior to take in order to estimate the posterior density. |
sort |
Whether to plot different terms in the order of their estimations. Default is 'TRUE'. |
A ggplot object
The underlying plot grid object is returned but invisible. It can be saved for later uses.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.