Learn R Programming

VBmix (version 0.3.2)

incremMerge:

Description

updates a reference MPPCA model with an input distribution.

Usage

incremMerge(modref, newmod, k = 200, nit = 100, quick = FALSE)

Arguments

modref
reference MPPCA to update.
newmod
new MPPCA to incorporate.
k
number of components of the output variational posterior.
nit
number of iterations used in the mmppca call that performs the update.
quick
boolean parameter transmitted to the subMppca routine that shrinks the output variational posterior.

Value

updated variational posterior.

See Also

mppca mmppca

Examples

Run this code
# commented for packaging needs (requires approx. 5s)
#temp <- incremMerge(pcapen[[1]], pcapen[[2]], quick=T)

Run the code above in your browser using DataLab