checkGmm: checkGmm

Description Usage Arguments Value Author(s) See Also Examples

View source: R/functions.R

Description

Checks that the parametrized GMM objects has the expected structure.

Usage

1
checkGmm(obj)

Arguments

obj

GMM object to be checked (see VBmix::newGmm for format definition)

Value

TRUE if the correct structure is found, FALSE else.

Author(s)

Pierrick Bruneau

See Also

plotGmmOverlay

Examples

1
2
3
4
5
6
7
# set a gaussian mixture model 
gaussmod <- list()
gaussmod$w <- c(0.5, 0.5)
gaussmod$mean <- list(c(-3,0), c(3,0))
gaussmod$cov <- list(diag(2), diag(2))

checkGmm(gaussmod)

patchPlot documentation built on May 19, 2017, 8:15 a.m.

Search within the patchPlot package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.