Learn R Programming

⚠️There's a newer version (0.5.2) of this package.Take me there.

lsr (version 0.5)

Companion to "Learning Statistics with R"

Description

A collection of tools intended to make introductory statistics easier to teach, including wrappers for common hypothesis tests and basic data manipulation. It accompanies Navarro, D. J. (2015). Learning Statistics with R: A Tutorial for Psychology Students and Other Beginners, Version 0.5. [Lecture notes] School of Psychology, University of Adelaide, Adelaide, Australia. ISBN: 978-1-326-18972-3. URL: http://health.adelaide.edu.au/psychology/ccs/teaching/lsr/.

Copy Link

Version

Install

install.packages('lsr')

Monthly Downloads

12,751

Version

0.5

License

GPL-3

Maintainer

Daniel Navarro

Last Published

March 2nd, 2015

Functions in lsr (0.5)

expandFactors

Expand factors to a set of contrasts
lsr-package

Companion to "Learning Statistics with R"
sortFrame

Sort a data frame
standardCoefs

Standardised regression coefficients
posthocPairwiseT

Post-hoc pairwise t-tests for ANOVA
permuteLevels

Permute the levels of a factor
aad

Mean (average) absolute deviation from the mean
modeOf

Sample mode
longToWide

Reshape from long to wide
oneSampleTTest

One sample t-test
rowCopy

Copy a vector into a matrix
cramersV

Cramer's V
wideToLong

Reshape from wide to long
who

Contents of workspace
unlibrary

Unload a package
quantileCut

Cut by quantiles
correlate

Correlation matrices
associationTest

Chi-square test of association / independence
cohensD

Cohen's d
independentSamplesTTest

Independent samples t-test
pairedSamplesTTest

Paired samples t-test
ciMean

Confidence interval around the mean
tFrame

Transpose a data frame
bars

Grouped Bar Plots with Error Bars
goodnessOfFitTest

Chi-square test against specified probabilities
rmAll

Remove all objects
importList

Import a list
etaSquared

Effect size calculations for ANOVAs