powered by
Initializes the prior vectors for the Gaussian(s)
priors(num)
(numeric): Number of priors.
A vector of uniformly initialized prior values (numeric).
For example, if the user specify 2 priors then the vector will have 2 entries (one for each cluster) where each will be 1/2 or 0.5.
# NOT RUN { #Randomly generating the priors. priors(2) priors(3) # }
Run the code above in your browser using DataLab