mu.k.u {BHTSpack}R Documentation

package internal function

Description

package internal function

Usage

mu.k.u(k, ik, z, sigma, mu0)

Arguments

k
ik
z
sigma
mu0

Value

Describe

Examples

  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)

[Package BHTSpack version 0.6 Index]