as.ppclust {ppclust}R Documentation

Convert object to ‘ppclust’ class

Description

Converts an object of the classes fanny.object, summary.fclust, kmeans or vegclust to ‘ppclust’ class.

Usage

as.ppclust(objx, ...)

Arguments

objx

an object to be converted to an instance of ppclust class.

...

additional arguments.

Value

an object of ppclust class.

Author(s)

Zeynel Cebeci

See Also

is.ppclust, ppclust2, summary.ppclust

Examples

data(iris)
# Create an fclust object
ofc <- fclust::FKM(X=iris[,1:4], k=3)

# Test the class of object 'ofc' 
class(ofc)

# Convert 'ofc' to ppclust object
opc <- as.ppclust(ofc)

# Test the class of 'opc' object
class(opc)

[Package ppclust version 1.1.0.1 Index]