predict.multinomClust: Prediction of probabilities for cluster membership

Description Usage Arguments Details Value Author(s) Examples

View source: R/predict.multinomClust.R

Description

Either within data used for clustering, or on new data.

Usage

1
2
3
## S3 method for class 'multinomClust'
predict(object, number.clusters = NULL,
new_Y_data = NULL, new_X_data = NULL, ...)

Arguments

object

Object of class multinomClust as fitted by cluster.

number.clusters

Number of used cluster. If NULL, then number of clusters taken from obj.

new_Y_data

Possible data frame with new response data.

new_X_data

Possible data frame with new predictor data.

...

Not used

Details

To de done.

Value

Output given as a matrix. Details to be provided later.

Author(s)

Bo Markussen (bomar@math.ku.dk)

Examples

1
2
3
4
5
## Not run: 
data(SEScluster)
predict(SEScluster)

## End(Not run)

bomarkussen/clusterMultinomial documentation built on May 4, 2019, 6:39 p.m.