Description Usage Arguments Value Examples
View source: R/mu.k.u.R
package internal function
1
mu.k.u(k, ik, z, sigma, mu0)
k
ik
z
sigma
mu0
Describe
1 2 3 4 5 6 7
K = 5 n = 100 z = abs(rnorm(n)) sigma = sapply(1:K, function(x){1/rgamma(n=1, shape=10, rate=10)}) mu0 = 0 ik = sample(K, n, replace=TRUE) sapply(1:K, mu.k.u, ik, z, sigma, mu0)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.