kcca2df | R Documentation |
Convert object of class "kcca"
to a data frame in long format.
kcca2df(object, data)
object |
Object of class |
data |
Optional data if not saved in |
A data.frame
with columns value
, variable
and
group
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.