Learn R Programming

CompR (version 1.0)

getZh: Gets the result of the function EstimBradley()

Description

Gets the posterior probabilities for each individual to belong to the different classes and the class with the higher probability.

Usage

getZh(object)

Arguments

object
An object of class BradleyEstim

Value

Object of class matrix with the posterior probabilities for each individual to belong to the different classes and the class with the higher probability.

Examples

Run this code
data(Cocktail)
ResCock2<-EstimBradley(Cocktail,Constraint=0,Tcla=2,eps=1e-04,eps1=1e-04,TestPi=TRUE)
ResCock2_Zh<-getZh(ResCock2)

Run the code above in your browser using DataLab