Last data update: 2014.03.03

R: Determines posterior class probabilities for fitted model
postClassProbsR Documentation

Determines posterior class probabilities for fitted model

Description

The posterior class probabililities for each observed pattern and class is determined. These are returned as a data frame together with the patterns for each observation. If class=0 is requested then all classes are returned, otherwise only the selected class.

Usage

postClassProbs(object,class=0)

Arguments

object

randomLCA object

class

class to be returned. Zero returns all classes.

Details

Extracts the corresponding data from the randomLCA object..

Value

A data frame. The first columns of the data frame correspond to the patterns, followed by the frequency of each pattern, and then the posterior class probabilities for either the selected class or for all classes.

Author(s)

Ken Beath

Results