Learn R Programming

ICS (version 1.4-1)

screeplot.ICS-S3: Screeplot for an ICS Object

Description

Plots the kurtosis measures of an ICS object against its index number. Two versions of this screeplot are available.

Usage

# S3 method for ICS
screeplot(
  x,
  index = NULL,
  type = "barplot",
  main = deparse(substitute(x)),
  ylab = "generalized kurtosis",
  xlab = "component",
  names.arg = index,
  labels = TRUE,
  ...
)

Arguments

x

object of class ICS

index

index of the components to be plottes. If NULL all components are used.

type

"barplot" if a barplot or "lines" if a line plot is preferred.

main

main title of the plot.

ylab

y-axis label.

xlab

x-axis label.

names.arg

names.arg argument passed on to "barplot".

labels

labels argument for the labels of the x-axis passed on to axis.

...

other arguments for the plotting functions.

Author

Andreas Alfons and Aurore Archimbaud

See Also

ICS()

gen_kurtosis() method

Examples

Run this code
X <- iris[,-5]
out <- ICS(X)
screeplot(out)
screeplot(out, type = "lines")

Run the code above in your browser using DataLab