Learn R Programming

abd (version 0.2-8)

MouseEmpathy: Mouse Empathy

Description

Percentage of time spent stretching in three treatments of mice. Both condition and treatment code for the same variable.

Arguments

Format

A data frame with 42 observations on the following 3 variables.
treatment
a factor with levels Both Writhing, Isolated, and One Writhing
percent.stretching
a numeric vector
trt
a factor with levels bw, isolated, and ow

Source

Langford, D.J., S.E. Crager, Z. Shehzah, S.B. Smith, S.G. Sotocinal, J.S. Levenstadt, M.L. Chande, D.J. Levitin, J.S. Mogill. 2006. Social modulation of pain as evidence for empathy in mice. Science 312: 1967-1970.

Examples

Run this code
str(MouseEmpathy)

aov.fit <- aov(percent.stretching ~ treatment, data = MouseEmpathy)
summary(aov.fit)
lm.fit <- lm(percent.stretching ~ treatment, data = MouseEmpathy)
anova(lm.fit)

Run the code above in your browser using DataLab