View source: R/other_functions.R
simUnivariate | R Documentation |
Using code from the archived wmtsa
package
simUnivariate(name, n = 1024, snr = Inf)
name |
character string of name of the test wavelet signal to be generated; one of "dirac", "kronecker", "heavisine", "bumps", "blocks", "doppler", "ramp", "cusp", "crease", "sing", "hisine", "losine", "linchirp", "twochirp", "quadchirp", "mishmash1", "mishmash2", "mishmash3", "levelshift", "jumpsine", "gauss", "patches", "linear", "quadratic", "cubic"; |
n |
length of the series; defaults to 1024 points; increasing n infills the time series |
snr |
desired signal-to-noise ratio; default |
A numeric vector the same length as n
.
nms <- c("blocks", "linchirp", "mishmash1", "bumps")
z <- lapply(nms, simUnivariate)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.