plot.curve.dataset: Plot a dataset of curves in a user friendly way

Description Usage Arguments Examples

Description

Plot the curves of the dataset X, according to the curve's class, provided by the col parameter. With the ratio parameter, you can reduce the number of plotted curves (ex : ratio = 0.1 plot only 10 the curves).

Usage

1
2
## S3 method for class 'curve.dataset'
plot(X, col = rep(1, nrow(X)), ratio = 1)

Arguments

X

a matrix of time series (one time serie per line of the matrix)

col

the class vector of the data (must be numbers)

ratio

the ratio of curves plotted (1 : all curves plotted, 0.25 : 25% of the curves plotted)

Examples

1
2
3
4
5
## Not run: 
dataset = generateDataset()
plot.curve.dataset(X=dataset$X,col=dataset$col,ratio=0.1)

## End(Not run)

Erwangf/funHDDC-wavelet documentation built on June 7, 2019, 12:51 a.m.