MouseEmpathy | R Documentation |
Percentage of time spent stretching in three treatments of mice. Both
condition
and treatment
code for the same variable.
MouseEmpathy
A data frame with 42 observations on the following 3 variables.
a factor with levels Both
Writhing
, Isolated
, and One Writhing
a numeric vector
a
factor with levels bw
, isolated
, and ow
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.
str(MouseEmpathy)
aov.fit <- aov(percent.stretching ~ treatment, data = MouseEmpathy)
summary(aov.fit)
lm.fit <- lm(percent.stretching ~ treatment, data = MouseEmpathy)
anova(lm.fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.