'last4' extracts the last 4 characters from a string.  It applies to
a character vector to do the same for every component.  The main use
of this function is to extract the last for digits of student ID's.
Optionally, the 'num.char' argument can be used to return a different number of terminal characters than 4.

Data Analysis Using Regression and Multilevel/Hierarchical
Models
Bayesian Output Analysis Program (BOA) for MCMC
Bootstrap Functions (originally by Angelo Canty for S)
Functions for the Book "An Introduction to the Bootstrap"
R interface to the OpenBUGS MCMC software
Tools: moving window statistics, GIF, Base64, ROC AUC, etc.
Cluster Analysis Extended Rousseeuw et al.
Output analysis and diagnostics for MCMC
Conditional Inference Procedures in a Permutation Test Framework
Data Analysis And Graphics data and functions
Delaunay Triangulation and Dirichlet (Voronoi) Tessellation.
doBy - Groupwise summary statistics, general linear contrasts,
population means (least-squares-means), and other utilities
Exact Distributions for Rank and Permutation Tests
Functions and datasets for books by Julian Faraway.
Read Data Stored by Minitab, S, SAS, SPSS, Stata, Systat, dBase,
...
Various R programming tools for data manipulation
Generalised Linear Mixed Models and Spatial Models with WinBUGS,
BRugs, or OpenBUGS
Various R programming tools for model fitting
Various R programming tools for plotting data
The R Graphics Devices and Support for Colours and Fonts
A Handbook of Statistical Analyses Using R
Functions for kernel smoothing for Wand & Jones (1995)
Extra Graphical Utilities Based on Lattice
Functions for Learning Bayesian Inference
Linear mixed-effects models using S4 classes
Tools for reading and handling spatial objects
Support Functions and Datasets for Venables and Ripley's MASS
Sparse and Dense Matrix Classes and Methods
Collection of functions for matrix calculations
Normal Mixture Modeling for Model-Based Clustering,
Classification, and Density Estimation
Data sets from Mixed-effects Models in S
Mixed GAM Computation Vehicle with GCV/AIC/REML smoothness
estimation
Examples from Multilevel Modelling Software Review
Tools and Classes for Statistical Models
Simultaneous Inference in General Parametric Models
Linear and Nonlinear Mixed Effects Models
Feed-forward Neural Networks and Multinomial Log-Linear Models
Running WinBUGS and OpenBUGS from R / S-PLUS
Simulation and Analysis of Random Fields
Breiman and Cutler's random forests for classification and
regression
raster: Geographic data analysis and modeling
Rcpp integration for Armadillo templated linear algebra library
Rcpp integration for the Eigen templated linear algebra library.
Visualizing the performance of scoring classifiers.
Functions for Kriging and Point Pattern Analysis
Spatial dependence: weighting schemes, statistics and models
Demonstrations for teaching and learning
Data sets for the text "Using R for Introductory Statistics"