plot.multinomClust: Plot of multinomial clusters

Description Usage Arguments Details Value Author(s) Examples

View source: R/plot.multinomClust.R

Description

Some plots

Usage

1
2
3
## S3 method for class 'multinomClust'
plot(x, what = "dendrogram", add.names = TRUE, number.clusters = NULL, variables = NULL,
pval.correction = "holm", significance.level = 0.05, ...)

Arguments

x

Fit from cluster.

what

Which plots to make? Possibilities are dendrogram, pvalue and histogram.

add.names

Should observation names be added in dendrogram? Also possible to give a character vector of names.

number.clusters

How many clusters should be used in histograms? If NULL, then taken from obj.

variables

Which variables to display in histograms. Either as characters or as numeric, where the latter gives variable numbers. If NULL then all variables are used.

pval.correction

Which correction for multiple testing should be used? Same as in p.adjust.

significance.level

Significance level to be used for color coding.

...

Not used.

Details

To be done

Value

Either NULL for dendrogram, which give base R graphics as side effect. Otherwise a ggplot2 object.

Author(s)

Bo Markussen (bomar@math.ku.dk)

Examples

1
2
data(SEScluster)
plot(SEScluster,"histogram",variables=1:5)

bomarkussen/clusterMultinomial documentation built on May 4, 2019, 6:39 p.m.