Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ppclust2

Convert ‘ppclust’ objects to the other types of cluster objects


Description

Converts an object of ‘ppclust’ class to the other types of cluster objects.

Usage

ppclust2(objx, otype, ...)

Arguments

objx

an object of ppclust class.

otype

target object class type for conversion.

...

additional arguments.

Value

an object of fanny.object, summary.fclust, kmeans or vegclust class.

Author(s)

Zeynel Cebeci

See Also

Examples

data(iris)
# Create a object of ppclust
opc <- fcm(x=iris[,1:4], centers=3)

# Check the class of opc object
is.ppclust(opc)

# Convert ppclust object 'opc' to the fanny object
ofc <- ppclust2(opc, otype="fanny")

# Check the class of 'ofc' for ppclust
is.ppclust(ofc)

# Check the class of 'ofc'
class(ofc)

# Convert ppclust object 'opc' to fclust object
ofc <- ppclust2(opc, otype="fclust")

# Check the class of 'ofc'
class(ofc)

ppclust

Probabilistic and Possibilistic Cluster Analysis

v1.1.0
GPL (>= 2)
Authors
Zeynel Cebeci [aut, cre], Figen Yildiz [aut], Alper Tuna Kavlak [aut], Cagatay Cebeci [aut], Hasan Onder [aut]
Initial release
2020-02-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.