Learn R Programming

bpgmm (version 1.0.5)

updatePostThetaY: Update posterior theta Y list

Description

Update posterior theta Y list

Usage

updatePostThetaY(m, n, p, hparam, thetaYList, ZOneDim, qVec, constraint, X)

Arguments

m

the number of clusters.

n

the number of observations.

p

the number of features.

hparam

hyper parameters S4 class.

thetaYList

theta Y list

ZOneDim

ZOneDim

qVec

qVec

constraint

constraint

X

X

Value

ThetaYList S4 class

Examples

Run this code
# NOT RUN {
url <- paste0("https://github.com/lzyacht/bpgmm-examples/",
"blob/master/data/updatePostThetaY_example.RData?raw=true")
download.file(url, destfile= "updatePostThetaY_example.RData", mode = "wb")
load("updatePostThetaY_example.RData")
updatePostThetaY(m, n, p, hparam, thetaYList, ZOneDim, qVec, constraint, X)
# }

Run the code above in your browser using DataLab