These materials are my contributions to the West Michigan R Users Group meetups. Click here for the GitHub repos. See the main WMRUG github account for more code and presentations.
Introduces basic concepts of C++
programming and the Rcpp
API for writing high-performance C++
code in R. Also points to the use-case of the mvrt
package which uses the Armadillo
C++
linear algebra library (via RcppArmadillo
) to extend the functionality of Rcpp
. This also touches on some of the considerations that need to be made when developing packages which include compiled code.
See presentation here.
This demonstrated the mapping capabilities of R using several packages. User-friendly packages such as chloroplethr
and ggmap
are discussed, as well as low-level mapping using shapefiles and other geographic data provided by government agencies.
Introduces the basics of creating your own package using friendly RStudio tools and packages. The devtools
and roxygen2
packages are featured prominently.
This was an overview of using various statistical modeling and algorithmic techniques to predict credit defaults. The different methods were compared using ROC curves. There is also a small primer on PCA.
This script introduces the basic concepts and quirks of R.