Learn R Programming

CNPBayes (version 1.2.2)

sigma2: Retrieve the variances of each component and batch distribution

Description

For a MarginalModel, this function returns a vector of variances. For a BatchModel, returns a matrix of size number of batches by number of components.

Usage

sigma2(object)
"sigma2"(object)
"sigma2"(object)
"sigma2"(object)

Arguments

object
see showMethods(sigma2)

Value

A vector of length number of components or a matrix of size number of batches x number of components

Examples

Run this code
     sigma2(MarginalModelExample)

Run the code above in your browser using DataLab