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

kcca2df

Convert Cluster Result to Data Frame


Description

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

Usage

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

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

Flexible Cluster Algorithms

v1.4-0
GPL-2
Authors
Friedrich Leisch [aut, cre] (<https://orcid.org/0000-0001-7278-1983>), Evgenia Dimitriadou [ctb], Bettina Gruen [aut] (<https://orcid.org/0000-0001-7265-4773>)
Initial release
2018-09-20

We don't support your browser anymore

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