nclusters

0th

Percentile

nclusters

Returns the number of micro-clusters from the DSC object.

Usage
nclusters(x, type=c("auto", "micro", "macro"), ...)
Arguments
x
A DSC object.
type
Return the number of micro- or macro-clusters in DSC. Auto used the class of dsc to decide.
...
Additional arguments are passed on.
Value

An integer; the number of micro- or macro-clusters in the clustering.

See Also

DSC

Aliases
  • nclusters
Examples
# setting up the objects
stream <- DSD_Gaussians(k=3)
dstream <- DSC_DStream(gridsize=0.1)
update(dstream, stream, 500)

# retrieving the results
get_centers(dstream)
nclusters(dstream)
Documentation reproduced from package stream, version 1.2-3, License: GPL-3

Community examples

Looks like there are no examples yet.