R packages
From Monashforecasting.com
Background on R
R is a language and environment for statistical computing and graphics. It is a GNU object which is similar to the S language and environment which was developed by the Bell laboratories by John Chamber and colleagues.
R provides a wide variety of statistical (linear and non-linear modelling, time series analysis, classification and discrimination and etc...) and graphical techniques (low level and high level), and is highly extensible.
R is an integreated suite of software facilities for data collection, data modelling, and data forecasting with the assistance of graphical display. It consists:
- matrix-based calculation.
- an effective handing and storage facilities.
- integrated collection of intermediate tools for data analysis.
- a well-developed, simple and effective programming language which includes loops, conditions, user-defined recursive functions.
My R packages
This page provides information about software on forecasting functional data. The R packages and code may be freely copied and used. No guarantee of their reliability is given. If any errors are found, please let me know.
- functional data sets This package contains a number of data sets for testing the performance of forecasting methods.
- functional time serie analysis This package contains a number of functions that can plot, model and forecast functional data, functional time series and sliced functional time series.
- Rainbow plot, functional bagplot, and functional HDR boxplot This package contains a number of functions that can plot functional data ordered by time, depth, or density, along with a number of real data sets and toy examples.
- Hierarchical time series analysis This package contains methods for analysing and forecasting hierarchical time series.
My R packages scheduled updates
Building R packages
R packages
- alr3: Methods and data to accompany Applied Linear Regression 3rd edition
- animation: Demonstrate Animations in Statistics
- Acinonyx - Next-generation interactive graphics
- Boot: Bootstrap R (S-Plus) Functions (Canty)
- Bootstrap: Functions for the Book "An Introduction to the Bootstrap"
- Cluster: Cluster Analysis Extended Rousseeuw et al
- Date: Functions for handling dates
- fBasics: Rmetrics - Markets and Basic Statistics
- gam: Generalized additive models
- glmnet: Lasso and elastic-net regularized generalized linear models
- ks: Kernel smoothing
- KernSmooth: functions for kernel smoothing for Wand & Jones (1995)
- kml: K-Means for Longitudinal Data
- LanguageR: Data sets and functions with "Analyzing Linguistic Data: A practical introduction to statistics"
- Lattice: Lattice Graphics
- lars: Least Angle Regression, Lasso and Forward Stagewise
- mFilter: The package implements several time series filters useful for smoothing and extracting trend and cyclical components of a time series
- mgcv: GAMs with GCV smoothness estimation and GAMMs by REML/PQL
- mnormt: The multivariate normal and t distributions
- MortalitySmooth: Smoothing Poisson counts with P-splines
- nlme: linear and nonlinear mixed effects models
- nortest: Tests for Normality, such as shapiro.test, ks.test, tsdiag
- R2WinBUGS: Running WinBUGS and OpenBUGS from R/S-PLUS
- RExcelInstaller (Integration of R and Excel, (use R in Excel, read/write XLS files))
- rggobi: Interface between R and GGobi
- rgl: 3D visualization device system (OpenGL)
- Rpad: Workbook-style, web-based interface to R
- SemiPar: Semiparametic Regression
- sos: sos
- tree: Classification and regression trees
- vars: VAR modeling
- xtable: Export tables to LaTex or HTML
Machine Learning R packages
- nnet: Forward Neural Networks and Multinomial Log-Linear Models
- gbm: Generalized Boosted Regression Models
- mlbench: Machine Learning Benchmark Methods
- Polymars: Multivariate Adaptive Polynomial Spline Regression
- MARS: Multivariate Adaptive Regression Splines
Functional data analysis R packages
- pendensity: Density estimation with a penalized mixture approach
- fda: Functional data analysis
- Modeling functional data in finance
- far: Modelization for functional autoregressive processes
- mar1s: Multiplicative AR(1) with seasonal processes
- fpca: Restricted MLE for functional principal component analysis
Functional data analysis MATLAB packages
- fda: Functional data analysis using R and MATLAB
- PACE package: Principal analysis by conditional expectation
CRAN Task View
- Calendar Builds 3D 2009 calendar
R books
- Albert, J. (2009) Bayesian computation with R, Springer.
- Cook, D., and Swayne, D. F. (2007)Interactive and dynamic graphics for data analysis, Springer.
- Cowpertwait, P.S.P. and Metcalfe, A. V. (2009)Introductory time series with R, Springer.
- Murrell, P (2006) R graphics, Chapman & Hall.
- Ramsay, J., Hooker, G., and Graves, S. (2009) Functional data analysis using R and MATLAB, Springer.
- Robert, C. and Casella, G. (2010)Introducing Monte Carlo methods with R, Springer.
- Sarkar, D. (2008) Lattice, Springer.
- Spector, P. (2008) Data Manipulation with R, Springer.
- Venables, W. N. and Ripley, B. D. (2002) Modern applied statistics with S, Springer, 4th nd, New York.
- Wickham, H. (2009) ggplot2, Springer.
Some functionality of R
- A (Not So) Short Introduction to S4
- Add noise to numbers
- Animation website of Yihui Xie
- Assign a list of strings
- Calinski and Harabasz stopping rule
- Check positive definite
- cleversearch() in svcm package performs a greedy grid search with lookup-table
- Cluster analysis in R
- Color codes
- Connectivity between MATLAB and R
- Controlling figure and table placement in Latex
- Data analysis software
- Derivative of nonparametric curve
- Finding a function in any package
- Finding keywords
- index.G1 in clusterSim package calculates Calinski and Harabasz stopping rule
- Integrate function in stats package
- Ignore error in for-loop
- Jonathan Baron's R help page
- Lattice plots
- optim and optimize for one-dimensional optimization and constrOptim for constrained optimization
- Plot area under a curve
- mvtsplot
- R Wiki
- R workshop in 2008
- rcmd INSTALL --build
- Rd files with unknown encoding problem
- Remove a pattern from R remove(list=ls(pattern = "^r..$"))
- Removing columns from a matrix
- rgl package for 3D real-time plotting
- S4 classes
- S4 class examples
- S4 classes in 15 pages, more or less
- Showing graphs one by one allowing full control by users
- Swedish mortality data
- Switch function in R
- unique function in R
- uniroot
- y <- c("1,200","20,000","100","12,111") as.numeric(gsub(",","", y)) to correct the quotes
- Creating Identity Matrices
- Maximum likelihood estimation
- format a string
- Version number of a package
