ElemStatLearn (version 2015.6.26.2)

waveform: Function to simulate waveform data

Description

Simulates waveform data, as in the book page 402.

Usage

waveform(n)

Arguments

n

Number of waveforms to simulate

Value

Dataframe with two variables, x, a matrix with 21 columns, and a vector y with class labels.

Details

The formulas are given in the book page 402.

See Also

waveform.train and waveform.test.