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.
- Bayesian bandwidth estimation This package contains Bayesian bandwidth estimation for multivariate kernel regression with Gaussian error
- 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.
- Hierarchical time series analysis This package contains methods for analysing and forecasting hierarchical 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.
My R packages scheduled updates
- Add summaryfunction to the rainbow package
- Change the MASE function in the ftsa package
Building R packages
- Building R package in Windows
- Building R package in Mac
- FileZilla to distribute to cran
- Tools for 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
- Cluster: Cluster Analysis Extended Rousseeuw et al
- CvM2SL2Test: Cramer-von Mises Two Sample Tests Cramer-von Mises criterion for comparing two density estimators
- CircStats: Circular Statistics, from "Topics in circular Statistics" (2001)
- Circular: Circular Statistics
- Date: Functions for handling dates
- fBasics: Rmetrics - Markets and Basic Statistics
- forecast: Forecast functions for time series
- fpp: Statistical forecasting: principles and practice
- glmnet: Lasso and elastic-net regularized generalized linear models
- 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
- lmtest: Testing Linear Regression Models (likelihood ratio test)
- mFilter: The package implements several time series filters useful for smoothing and extracting trend and cyclical components of a time series
- missMDA: Handling missing values with/in multivariate data analysis (principal component methods)
- 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))
- refund: Regression for functional data
- rggobi: Interface between R and GGobi
- rgl: 3D visualization device system (OpenGL)
- Rpad: Workbook-style, web-based interface to R
- R.matlab
- SCA: Simple component analysis
- SemiPar: Semiparametic Regression
- simex: Simulation Extrapolation in Measurement Error Problem
- snow parallel computing
- sos: sos
- Stacked plotting
- TSA: Time Series Analysis
- tree: Classification and regression trees
- vars: VAR modeling
- xtable: Export tables to LaTex or HTML
- How to generate multiple squre Orthogonal matrices?
Classification R packages
- CART: tree
- gbm: Generalized Boosted Regression Models
- knn: k-nearest neighbor
- lda: linear discriminant analysis
- multinorm: multivariate logistic regression
- nnet: neural networks
- qda: quadratic discriminant analysis
- randomForest: Breiman and Cutler's random forests for classification and regression
- svm: Support vector machine
Clustering R packages
- cluster
- mclust: Model-Based Clustering / Normal Mixture Modeling
- Pam: prediction analysis for microarrays
Machine Learning R packages
- gbm: Generalized Boosted Regression Models
- MARS: Multivariate Adaptive Regression Splines
- mlbench: Machine Learning Benchmark Methods
- nnet: Forward Neural Networks and Multinomial Log-Linear Models
- Polymars: Multivariate Adaptive Polynomial Spline Regression
Functional data analysis R packages
- far: Modelization for functional autoregressive processes
- fda: Functional data analysis
- fpca: Restricted MLE for functional principal component analysis
- mar1s: Multiplicative AR(1) with seasonal processes
- MFDF: Modeling functional data in finance
- pendensity: Density estimation with a penalized mixture approach
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.
- Everitt, B. S. and Hothorn, T. (2010) A Handbook of Statistical Analyses Using R, Chapman and Hall.
- Murrell, P (2006) R graphics, Chapman & Hall.
- Husson, F. and Le, S. and Pages, J. (2010) Exploratory multivariate analysis by example using R, Chapman & Hall.
- Keen, K. J. (2010) Graphics for Statistics and Data Analysis with R, Chapman and 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.
- Wickham, H. (2009) ggplot2, 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.
R graphical tools
- Area plot
- Back-to-back histogram
- Boxplot
- Contour plot
- Density plot
- Histogram plot
- Perspective plot
- Scatter plot
- Sunflower plot
- 3D scatter plot
- 3D bar plot
Cross validated questions and answers
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 (Produce a list of variable name in a for loop, then assign values to them)
- Automatically load an add-on package whenever R is started
- Bartlett's test that a correlation matrix is an identity matrix
- Calculate the area under a curve
- Calinski and Harabasz stopping rule
- character vector
- 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
- Copy graphics between multiple devices
- Creating Identity Matrices
- Convert list to matrix
- Data analysis software
- Detach and install package
- Derivative of nonparametric curve
- Displaying numbers not in scientific notation
- Finding a function in any package
- Finding keywords
- Find the mode in R
- Find the mode for continuous variable in R
- format a string
- index.G1 in clusterSim package calculates Calinski and Harabasz stopping rule
- Extracting diagonal matrix
- Histograms and Density Plots
- How to convert the lower triangle of a matrix to a symmetric matrix
- How to simulate a time series
- Integrate function in stats package
- Ignore error in for-loop
- Jonathan Baron's R help page
- Lattice plots
- Learning R from youtube
- list2env
- List of functions in a package
- List of loaded packages
- Local polynomial kernel smoother
- Module
- ksmooth function for implementing Nadaraya-Watson kernel estimator
- loess function for implementing local polynomial regression fitting
- lowess function for scatter plot smoothing
- optim and optimize for one-dimensional optimization and constrOptim for constrained optimization
- Maximum likelihood estimation
- Maximum Likelihood estimation of OLS method
- Missing value where TRUE/FALSE needed
- Must-have R packages for social scientists
- Nonparametric regression resources in R
- norm (one norm, the infinity norm, the Frobenius norm, or the maximum modulus)
- mvtsplot
- Open multiple R sessions
- Penalized regression spline
- Plot area under a curve
- Plot math
- proc.time Running time of R
- R Wiki
- R workshop in 2008
- rcmd INSTALL --build for Windows
- Problem with rcmd check (ec-inconsolata)
- Rd files with unknown encoding problem
- R Color Chat
- R is slow
- Remove a pattern from R remove(list=ls(pattern = "^r..$"))
- Removing columns from a matrix
- Remove Inf in data frame
- Run test
- rgl package for 3D real-time plotting
- Difficulty1 in installing rgl in linux
- Difficulty2 in installing rgl in linux
- frame.plot=FALSE to remove the frame in a plot
- S4 classes
- S4 class examples
- Sampling with replacement in R
- S4 classes in 15 pages, more or less
- Showing graphs one by one allowing full control by users
- Source code in C or Fortran of built in R packages
- Swedish mortality data
- Switch function in R
- Time and Day conversion among different time zones
- Trigonometric Functions
- unique function in R
- uniroot
- Upgrade R
- Version number of a package
- window in time series
- windows in graphing in R
- y <- c("1,200","20,000","100","12,111") as.numeric(gsub(",","", y)) to correct the quotes
