Description Usage Arguments Note
Simulate a power-law time series
1 | sim.powerlaw(beta, N)
|
beta |
power-law exponent |
N |
length of the time series |
The Filter used in the power law generation is currently unscaled. To force Variance(X)=1, a scaling is performed on the final timeseries. This is problematic for short time series and if the distribution of variances is of interest. A workaround is to generate a very long powerlaw series (with overall variance=1) and cut it into many shorter ones. x<-matrix(sim.powerlaw(betas[b],Nsur*Nlength),ncol=Nsur,nrow=Nlength)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.