screeplot.corregp: Scree Plotting

Description Usage Arguments Details Value See Also Examples

Description

Method to produce a scree plot, i.e. a bar chart of the eigenvalues.

Usage

1
2
3
## S3 method for class 'corregp'
screeplot(x, type = "value", add_ci = FALSE, cl = 0.95,
  nq = TRUE, ...)

Arguments

x

The output of a call to corregp (i.e. an object of class "corregp").

type

A character specification of which type of values to plot: either "value" for the actual eigenvalues, "%" for percentages or "cum_%" for cumulative percentages. Defaults to "value".

add_ci

Logical specifying whether to include the confidence intervals. Defaults to FALSE.

cl

The confidence level for the confidence intervals. Defaults to 0.95.

nq

Logical specifying whether to use a normal quantile (i.e. apply qnorm) in the computation of the confidence intervals. Defaults to TRUE. If FALSE, then the confidence intervals are computed directly with the quantile function.

...

Further arguments passed to or from other methods.

Details

screeplot (of a corregp output) makes use of barplot2 from the package gplots.

Value

A plot window containing the scree plot.

See Also

corregp, summary.corregp, anova.corregp.

Examples

1
2
3
data(HairEye)
haireye.crg <- corregp(Eye ~ Hair * Sex, data = HairEye, b = 3000)
screeplot(haireye.crg, add_ci = TRUE)

corregp documentation built on May 1, 2019, 10:08 p.m.