Description Usage Arguments Value Examples
View source: R/plot-FramedClust.R
The plot
method for framed data clustering result object.
It visualizes clusters on the input data that are within a best
frame.
1 2 3 4 5 6 7 8 9 10 |
x |
an object of class |
xlab |
a character string. The x-axis label for the plot. Default is NULL. |
ylab |
a character string. The y-axis label for the plot. Default is NULL. |
main |
a character string. The title for the plot. Default is NULL. |
sub |
a character string. The subtitle for the plot. Default is NULL. |
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. By default the blue, red3, green3, orange, purple, brown colors are used in the plot. |
... |
other arguments associated with the plot function |
An object of class "FramedClust"
,
identical to the input x
1 2 3 4 5 6 7 8 | N <- 100
X <- rchisq(N, 5)
K <- 3
frame.size <- 40
result <- FramedClust(X, K, frame.size)
plot(result)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.