Description Usage Arguments Value Examples
View source: R/ordinate_negbinom.R
Fits latent factor model to count data with negative binomial sampling model
1 | ordinate_negbinom(num.mcmc, Y, burn.in = 100)
|
num.mcmc |
- number of mcmc iterations |
Y |
- an n X p matrix of abundance data |
burn.in |
- number of burn in samples, default is 100 |
alpha.samples
beta.samples
theta.samples
z.samples
1 2 3 4 | set.seed(08052019)
Y <- rnbinom(100,size = 10, mu = 100)
Y.matrix <- matrix(Y, 10, 10)
ordinate_negbinom(1000, Y.matrix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.