predict.cwrObj: S3 predict method for cwrObj

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Method to return predicted group membership

Usage

1
2
  ## S3 method for class 'cwrObj'
predict(object, ...)

Arguments

object

A cwr obj

...

additional parameters

Details

Get the max coulmn index of the matrix

Value

A numeric vector

Author(s)

Giorgio A. Spedicato

References

Murphy

See Also

cwrEm

Examples

1
2
3
4
5
data(geyser)
x=geyser[,1]
y=geyser[,2]                            
ciao=cwrEm(x,y,nc=2)
predict(ciao)

cwm documentation built on May 1, 2019, 9:19 p.m.