Rev 22554 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
Time-series package for R=========================Functions in base R:-------------------ts Create a (univariate or multivariate) ts object[.ts Subsetting method for ts objects.as.ts, is.ts Coercion and membership functionsplot, lines, print methodscbind.ts cbind method for time series (aligns time bases)na.omit.ts na.omit method for time series: omits at ends onlyOps.ts arithmetic (such as + - * /) for time seriesaggregate Computes summaries (e.g. sum) over disjoint time intervalsdiff Lagged differences of a time seriesend Time of last observationfrequency Number of observations per unit of timedeltat Return time interval between observationstime Create time series giving the times of observationscycle Create time series giving the positions in a cycleof a time seriesstart Time of first observationtsp, tsp<- Get and set time-series attributeswindow Subset to a time windowFunctions in package ts:-----------------------acf Auto- and Cross- Covariance and -Correlation FunctionEstimationacf2AR Compute an AR Process Exactly Fitting an ACFar Wrapper for autoregression estimation functionsar.burg Estimate autoregression model by Burg's methodar.ols Estimate autoregression model by ordinary least squaresar.mle Estimate autoregression model by maximum likelihoodar.yw Estimate autoregression model by solving Yule-Walker equationsarima ARIMA Modelling of Time Seriesarima0 ARIMA Modelling of Time Series -- Preliminary Versionarima.sim Simulate from an ARIMA ModelARMAacf Compute Theoretical ACF for an ARMA ProcessARMAtoMA Convert ARMA Process to Infinite MA ProcessBox.test Box-Pierce and Ljung-Box testsccf Cross-covariance and cross-correlations for two seriescpgram Plot Cumulative Periodogramdecompose Classical Seasonal Decomposition by Moving Averagesdiffinv Discrete Integration: Inverse of Differencingembed Embedding a Time Seriesfilter Linear Filtering on a Time SeriesHoltWinters Holt-Winters Filteringkernapply Apply Smoothing Kernelkernel Smoothing kernel Objects (and (modified) Daniell, Fejer andDirichlet kernels)lag Lag a Time Serieslag.plot Time Series Lag Plotsmonthplot Plot a Seasonal or other Subseriesna.contiguous Find Longest Contiguous Stretch of non-NAspacf Partial autocorrelation functionplot.acf Plot Autocovariance and Autocorrelation Functionsplot.spec Plot Spectral DensitiesPP.test Phillips-Perron Test for Unit Rootspredict methods for ar, arima, arima0 and StructTSspec.ar Estimate Spectral Density of a Time Series from AR Fitspec.pgram Estimate Spectral Density of a Time Series by a SmoothedPeriodogramspec.taper Taper a Time Series by a Cosine Bellspectrum Wrapper for spectral density estimation functionsstl Seasonal Decomposition of Time Series by Loessstlmethods Methods for STL ObjectsStructTS Fit Structural Time Seriestoeplitz Form Symmetric Toeplitz Matrixts.intersect Bind time series as multivariate ts over the common time basets.plot Plot Multiple Time Seriests.union Bind time series as multivariate ts over their total time basetsdiag Diagnostic Plots for Time-Series FitstsSmooth Use Fixed-Interval Smoothing on Time SeriesIn some cases the visual output will closer to that of S(-PLUS) ifoptions(ts.S.compat=TRUE) has been set.Datasets in base R:------------------airmiles Passenger-Miles on US Airlines 1937-1960co2 Moana Loa Atmospheric CO2 Concentrationsnhtemp Yearly Average Temperatures in New Haven CTpresidents Quarterly Approval Ratings for US Presidentssunspots Monthly Mean Relative Sunspot Numbers 1749-1983uspop Populations Recorded by the US CensusDatasets in package ts:----------------------See data(package="ts").