Packages of interest
The following non exhaustive list provides a few examples of commands and packages that tackle common types of analysis which might be relevant to users of large scale social surveys:
Further regression analysis: the
glm()
command can be used for fitting a large number of regression models including Poisson and multinomial logistic regression. The packageslme4
andnlme
include functions to fit respectively linear and non linear multilevel models, also known as mixed models.For users interested in latent variable modelling the
factanal()
command from thestats
package enables to conducts factor analysis. Other resources are available in thepoLCA
(Latent Class Analysis),ltm
(Latent Trait modelling),sem
(Structural Equation Modelling) packages. TheLavaan
package also provides a wide range of functions for structural equation modelling including models with categorical outcomes.For those conducting longitudinal and time series analysis the
stats
and the ‘tseries’ packages contains useful functions. The packagessurvival
andeha
deal with event history and survival analysis, whereasplm
is designed for panel data and fixed and random effects models.Using R for creating maps is now common among social scientists and geographers with packages such as
rmaps
,sp
,rgdal
,rgeos
andggmaps
Additional online resources
There are hundreds of web sites dedicated to R, in addition to CRAN and the main R help list, R-Help with its searchable archives. A few common ones are listed below:
- As with other statistical packages, the UCLA and Princeton University websites provide a good starting point for beginners
- The University of North Texas provides useful links to R resources
- The R Bloggers website contains many posts about R.
- Stackexchange is not specific to R but contains many forum-type questions and answers raised by R users
- This website at Harding University presents useful information about basic plots in R.
- This blog presents detailed tutorials for advanced data visualisation using
ggplot2
- The Centre for Multilevel modeling at Bristol University has several pages and training courses dedicated to R users interested in Multilevel modelling.
- The UK Data Service has produced training material about creating maps in R, as part of an introduction to mapping crime data