Learn R Programming

extracat (version 1.6-3)

cfcl: Extract clusters from cfluctile

Description

Extract clusters from cfluctile

Usage

cfcl(x, y = NULL, ll)

Arguments

x
vector or dataframe.
y
if x is a vector, y needs to be specified.
ll
The list with the names of the levels which are combined.

Value

  • A 2-column dataframe with the cluster factors.

See Also

cfluctile

Examples

Run this code
a <- arsim(2000, c(12,17),5, noise=0.2,shuffle = FALSE)
cfa <- cfluctile(a)

da <- as.data.frame(a)
clusters <- cfcl( da, ll = cfa)

dev.new()
fluctile(xtabs(da$Freq~clusters[,1] + clusters[,2]))

table(combcl(clusters))

Run the code above in your browser using DataLab