cfcl: Extract clusters from cfluctile

Description Usage Arguments Value See Also Examples

View source: R/cfcl.R

Description

Extract clusters from cfluctile

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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))

extracat documentation built on July 17, 2018, 5:05 p.m.

Related to cfcl in extracat...