| languageR-package {languageR} | R Documentation |
Data sets and functions for 'Analyzing Linguistic Data'
Description
Data sets and functions accompanying 'Analyzing Linguistic Data: A practical introduction to statistics', Cambridge University Press, 2007.
Details
| Package: | languageR |
| Type: | Package |
| Version: | 1.0 |
| Date: | 2007-01-15 |
| License: | GNU public license |
The main function of this package is to make available the data sets discussed and analyzed in 'Analyzing Linguistic Data: A practical introduction to statistics using R', to appear with Cambridge University Press. The following packages should be installed, as ancillary functions in this package depend on them.
zipfRfor word frequency distributions
lme4for mixed-effects models
codafor Markov-Chain Monte Carlo estimation
latticefor trellis graphics
Matrixfor mixed-effects modeling
The following packages need to be installed for working through specific examples.
rmsfor regression modeling
rpartfor CART trees
e1071for support vector machines
MASSfor many useful functions
apefor phylogenetic clustering
The main convenience functions in this library are, by category:
- correspondence analysis
(extending code by Murtagh, 2005)
corres.fnccorrespondence analysis
corsup.fncsupplementary data
- vocabulary richness
(supplementing current zipfR functionality)
compare.richness.fncfor two texts, compare richness
growth.fncempirical vocabulary growth data for text
growth2vgcconversion to vgc object of zipfR
spectrum.fnccreates frequency spectrum
text2spc.fncconversion to spc object of zipfR
- lmer functions
(p-values for mixed-effects models with lme4)
pvals.fncp-values for table of coefficients including MCMC
aovlmer.fncp-values for anova tables and/or MCMC p-value for specified factor
- simulation functions
(for comparing mixed models with traditional techniques including F1, F2, and F1+F2)
simulateRegression.fncsimulate simple regression design
simulateQuasif.fncsimulate data for Quasi-F ratios
simulateLatinsquare.fncsimulating simple Latin-square design
- miscellaneous
(convenience functions)
pairscor.fncscatterplot matrix with correlation tests
collin.fnccollinearity diagnostics
pvals.fncp-values and MCMC confidence intervals for mixed models
plot.logistic.fit.fncdiagnostic visualization for logistic models
xylowess.fnctrellis scatterplots with smoother
mvrnormplot.fncscatterplot for bivariate standard normal random numbers with regression line
lmerPlotInt.fncoffers choice of four ways to visualize an interaction between two numeric predictors in an lmer model
Author(s)
R. H. Baayen
University of Alberta, Edmonton, Canada
Maintainer: harald.baayen@gmail.com
References
R. H. Baayen (2007) Analyzing Linguistic Data: A practical introduction to statistics using R, Cambridge: Cambridge University Press.
Examples
## Not run:
library(languageR)
data(package="languageR")
## End(Not run)