kcca2df: Convert Cluster Result to Data Frame

Description Usage Arguments Value Examples

View source: R/boxplot.R

Description

Convert object of class "kcca" to a data frame in long format.

Usage

1
kcca2df(object, data)

Arguments

object

Object of class "kcca".

data

Optional data if not saved in object.

Value

A data.frame with columns value, variable and group.

Examples

1
2
3
4
c.iris <- cclust(iris[,-5], 3, save.data=TRUE)
df.c.iris <- kcca2df(c.iris)
summary(df.c.iris)
densityplot(~value|variable+group, data=df.c.iris)

flexclust documentation built on May 30, 2017, 5:46 a.m.

Related to kcca2df in flexclust...