gamma_<-
function for classCreate generic gamma_<-
function for class
gamma_(x) <- value
An Sldax
object.
Numeric parameter for symmetric Dirichlet prior on topic-word probabilities to assign to slot.
None.
# NOT RUN {
m1 <- Sldax(ndocs = 1, nvocab = 2,
topics = array(c(1, 2, 2, 1), dim = c(1, 4, 1)),
theta = array(c(0.5, 0.5), dim = c(1, 2, 1)),
beta = array(c(0.5, 0.5, 0.5, 0.5), dim = c(2, 2, 1)))
gamma_(m1) <- 1.0
# }
Run the code above in your browser using DataLab