Learn R Programming

cwm (version 0.0.3)

predict.cwrObj: S3 predict method for cwrObj

Description

Method to return predicted group membership

Usage

"predict"(object, ...)

Arguments

object
A cwr obj
...
additional parameters

Value

Details

Get the max coulmn index of the matrix

References

Murphy

See Also

cwrEm

Examples

Run this code
data(geyser)
x=geyser[,1]
y=geyser[,2]                            
ciao=cwrEm(x,y,nc=2)
predict(ciao)

Run the code above in your browser using DataLab