| languageR-package | R Documentation |
Data sets and functions accompanying 'Analyzing Linguistic Data: A practical introduction to statistics', Cambridge University Press, 2007.
| 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:
(extending code by Murtagh, 2005)
corres.fnccorrespondence analysis
corsup.fncsupplementary data
(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
(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
(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
(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
R. H. Baayen
University of Alberta, Edmonton, Canada
Maintainer: harald.baayen@gmail.com
R. H. Baayen (2007) Analyzing Linguistic Data: A practical introduction to statistics using R, Cambridge: Cambridge University Press.
## Not run:
library(languageR)
data(package="languageR")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.