Learn R Programming

waved (version 1.3)

plotspec: Plot spectrum

Description

This function plots the log spectrum and the optimal noise threshold which is used in WaveD fit.

Usage

plotspec(g, s)

Value

Graphical output only.

Arguments

g

Sample of g or g + (Gaussian noise).

s

Noise standard deviation.

Author

Marc Raimondo

References

Raimondo, M. and Stewart, M. (2007), "The WaveD Transform in R", Journal of Statistical Software.

See Also

WaveD

Examples

Run this code
plotspec(sin(2*pi*seq(0,1,le=1024)),0.01) 

Run the code above in your browser using DataLab