Convert object to ‘ppclust’ class
Converts an object of the classes fanny.object
, summary.fclust
, kmeans
or vegclust
to ‘ppclust’ class.
as.ppclust(objx, ...)
objx |
an object to be converted to an instance of |
... |
additional arguments. |
an object of ppclust
class.
Zeynel Cebeci
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)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.