Description Usage Arguments Value Author(s) See Also Examples
Estimate the timescale-dependent variance of a time series.
1 2 3 4 |
timser |
Input time series. Can be a |
tsc.in |
Vector of two timescales, |
min.res |
Minimal resolution of the time series (if this is not met, NAs are returned). |
start.val |
Starting value of the time series window. |
end.val |
End value of the time series window. |
pval |
|
detrend |
logical argument, if set to |
A list of
std |
Standard deviation |
var.tsc |
timescale-dependent variance estimated |
var.tot |
total variance of the time series in the window |
dof |
estimated degrees of freedom of the variance estimate |
ts.used |
used time series |
var.ci |
list of |
spec.win |
spectrum object |
Kira Rehfeld, with contributions from Thom Laepple
1 2 3 4 5 6 7 8 9 10 11 12 | library(scales)
## Generate one gamma-distributed and one regular time axis
tx<-generate_t(dt=1,tmin=0,tmax=250,method="gamma")
ty<-generate_t(dt=1,tmin=0,tmax=250,method="linear")
## Simulate one coupled AR1 process (see reference for details)
Proc<-car(tx,ty,coupl_strength=0.5,phi=0.5,lag=0,nsur=1)
## Bind the results to zoo time series
x<-zoo(Proc$x,order.by=tx)
y<-zoo(Proc$y,order.by=ty)
tsc_dep_var(y,tsc.in=c(30,100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.