Description Usage Arguments Details Author(s) See Also Examples
Takes a rlda
object produced by rlda.binomial
, rlda.bernoulli
or rlda.multinomial
and produces a summary from it.
1 2 |
object |
a |
burnin |
a percentual of burn-in observations must be a number between 0 and 1. The default value is |
quantile |
a quantile for the credible interval. The default value is |
silent |
a logical value specifying if the number of clusters, variables and gibbs interations must be printed. The default value is |
... |
other arguments may be useful. |
Summarizes the Gibbs Samping results and arguments.
Pedro Albuquerque.
pedroa@unb.br
http://pedrounb.blogspot.com/
Denis Valle.
drvalle@ufl.edu
http://denisvalle.weebly.com/
Daijiang Li.
daijianglee@gmail.com
rlda.binomial
, rlda.bernoulli
,rlda.multinomial
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
#Load data
data(presence)
#Set seed
set.seed(9842)
#Hyperparameters for each prior distribution
gamma <-0.01
alpha0<-0.01
alpha1<-0.01
#Execute the LDA for the Binomial entry
res<-rlda.bernoulli(presence, 10, alpha0, alpha1, gamma,
5000, TRUE, FALSE)
#Summary method
Theta<-summary(res)$Theta
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.