View source: R/SimPowerlawPiecewise.R
SimPowerlawPiecewise | R Documentation |
Simulate a timeseries with length N which has a spectra consisting of two powerlaws
SimPowerlawPiecewise(beta1, beta2, N, deltat = 1, breakpoint = 1/50)
beta1 |
slope for frequencies lower than breakpoint |
beta2 |
slope for frequencies higher than breakpoint |
N |
Number of points to simulate |
deltat |
timestep of the timeseries |
breakpoint |
frequency of the breakpoint |
N random numbers drawn according to the piecewise powerlaw PSD
Thomas Laepple
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.