Learn R Programming

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

lsr (version 0.2.1)

Companion package to "Learning Statistics with R"

Description

Functions that I have found useful for teaching purposes.

Copy Link

Version

Install

install.packages('lsr')

Monthly Downloads

12,751

Version

0.2.1

License

GPL-3

Maintainer

Daniel Navarro

Last Published

November 28th, 2012

Functions in lsr (0.2.1)

longToWide

Reshape from long to wide
importList

Import a list
lsr-package

Companion package to "Learning Statistics with R"
tFrame

Transpose a data frame
wideToLong

Reshape from wide to long
etaSquared

Effect size calculations for ANOVAs
unlibrary

Unload a package
standardCoefs

Standardised regression coefficients
modeOf

Sample mode
quantileCut

Cut by quantiles
expandFactors

Expand factors to a set of contrasts
aad

Mean (average) absolute deviation from the mean
cramersV

Cramer's V
rowCopy

Copy a vector into a matrix
posthocPairwiseT

Post-hoc pairwise t-tests for ANOVA
sortFrame

Sort a data frame
who

Contents of workspace
ciMean

Confidence interval around the mean
cohensD

Cohen's d
permuteLevels

Permute the levels of a factor
rmAll

Remove all objects
xfun

Apply a function by multiple grouping variables