getComponentcomponents: getComponentcomponents

Description Usage Arguments Value

View source: R/methods.R

Description

Generates a vector that indicates which component each observation belongs to, based on its posterior probability

Usage

1

Arguments

postprobs

n by m matrix of posterior probabilities for m-component model on n observations

Value

n by 1 vector of components that indicate which component each observation belongs to based on its posterior probability


hkasahar/normalregMix documentation built on May 17, 2019, 4 p.m.