plot.ics: Scatterplot for a ICS Object

plot.icsR Documentation

Scatterplot for a ICS Object

Description

Scatterplot matrix for an ics object.

Usage

## S4 method for signature 'ics,missing'
plot(x, index = NULL, ...)

Arguments

x

object of class ics

index

index vector of which components should be plotted. See details for further information

...

other arguments for plot

Details

If no index vector is given the function plots the full scatterplots matrix only if there are less than seven components. Otherwise the three first and three last components will be plotted. This is because the components with extreme kurtosis are the most interesting ones.

Author(s)

Klaus Nordhausen

See Also

screeplot.ics, ics-class and ics

Examples

    set.seed(123456)
    X1 <- rmvnorm(250, rep(0,8), diag(c(rep(1,6),0.04,0.04)))
    X2 <- rmvnorm(50, c(rep(0,6),2,0), diag(c(rep(1,6),0.04,0.04)))
    X3 <- rmvnorm(200, c(rep(0,7),2), diag(c(rep(1,6),0.04,0.04)))

    X.comps <- rbind(X1,X2,X3)
    A <- matrix(rnorm(64),nrow=8)
    X <- X.comps %*% t(A)

    ics.X.1 <- ics(X)
    plot(ics.X.1)
    plot(ics.X.1,index=1:8)
    rm(.Random.seed)

ICS documentation built on Sept. 21, 2023, 9:07 a.m.