Description Usage Arguments Value Examples
This function simulates multivariate Poisson count data from a latent factor model.
1 | CredibleViz(coord1, coord2, type = "points", items = NULL)
|
coord1 |
- mcmc object with first coordinate of projection |
coord2 |
- mcmc object with second coordinate of projection |
type |
- plot type, options are 'points', 'circles', 'scatter', 'density |
items |
- items to display uncertainty, only works for circles, density, or scatter |
plot.obj - ggplot object
1 2 3 4 5 | data(spider, package = 'mvabund')
spider.matrix <- matrix(as.numeric(spider$abund > 0), nrow = 28, ncol = 12)
ord <- ordinate_probit(500, spider.matrix)
CredibleViz(ord$z.samples[,,1], ord$z.samples[,,2], type = 'points', items = c(1,10,16))
CredibleViz(ord$z.samples[,,1], ord$z.samples[,,2], type = 'density', items = c(1,10,16))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.