plot.samVec: Plot methods of class samVec

Description Usage Arguments Examples

View source: R/AA_samVecClass.R

Description

plot.samVec divides the data by their groups and calcutes their densities separately. Their densities are plotted together in the same figure.

Usage

1
2
3
## S3 method for class 'samVec'
plot(x, graPar = NULL, colSet = 1:x$nGroup,
  ltySet = rep(1, x$nGroup), main = "KDE", legPar = list(), ...)

Arguments

x

A samVec object.

graPar

A list of parameters adjusting the global graphics.

colSet

A vector of strings or integers specifying colors.

ltySet

A vector of integers specifying line types.

main

A string specifying main title.

legPar

A list of parameters specifying the legend.

...

ignored

Examples

1
2
3
datamatrix = matrix(rnorm(100000), 1000, 100)
testset = samVec(datamatrix, selCol = list(1:5, 11:15, 21:25), dataType = "Example")
plot(testset, main = testset$dataType)

ziyanyin/DEEE documentation built on May 28, 2017, 1:51 p.m.