plotSingle: Plot Method for a single cluster of a cTurn object

Description Usage Arguments Author(s) See Also Examples

Description

A view of a single cluster within a cTurn object. Default plotting will output all clusters to a panelled Principal Component plot. If more detail is required on a particular cluster, this plot wrapper can be used for either a boxplot or a single Principal Component plot.

Usage

1
plotSingle(x, i, type = "box")

Arguments

x

a cTurn object.

i

the cluster in question. For principal component plots, a vector of clusters can be specified.

type

optional The default plot type is a boxplot, but "pcp" can be specified for a principal component plot. If "pcp" option is used, multiple i can be specified and viewed on the same plot.

Author(s)

Alex Bird, alex.bird@boots.co.uk

See Also

ggplot2 is used for all plot types.

Examples

1
2
x = rnorm(30,0,1);
mean(x) #approx 0.5. Nothing to do with this!

ornithos/nectr documentation built on May 24, 2019, 3:57 p.m.