Learn R Programming

Ckmeans.1d.dp (version 4.3.5)

plot.MultiChannelClusters: Plot Multi-Channel Clustering Results

Description

Plot multi-channel clustering results returned from MultiChannel.WUC.

Usage

# S3 method for MultiChannelClusters
plot(x, xlab=NULL, ylab=NULL, main=NULL,
      sub=NULL, col.clusters=NULL, ...)

Value

An object of class "MultiChannelClusters" defined in MultiChannel.WUC.

Arguments

x

an object of class as returned by MultiChannel.WUC.

xlab

a character string. The x-axis label for the plot.

ylab

a character string. The x-axis label for the plot.

main

a character string. The title for the plot.

sub

a character string. The subtitle for the plot.

col.clusters

a vector of colors, defined either by integers or by color names. If the length is shorter than the number of clusters, the colors will be reused.

...

arguments passed to plot function in package graphics.

Author

Joe Song

Details

The function visualizes the input data as sticks whose heights are the weights. Colors indicate clusters. See MultiChannel.WUC for examples.