Learn R Programming

abd (version 0.1-21)

MouseEmpathy: Mouse Empathy

Description

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

Usage

data(MouseEmpathy)

Arguments

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
data(MouseEmpathy)
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