as.ppclust | R Documentation |
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
is.ppclust
,
ppclust2
,
summary.ppclust
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.