Description Usage Format Source Examples
Percentage of time spent stretching in three treatments of mice. Both condition and treatment code for the same variable.
1 |
A data frame with 42 observations on the following 3 variables.
treatmenta factor with levels Both Writhing, Isolated, and One Writhing
percent.stretchinga numeric vector
trta 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.
1 2 3 4 5 6 7 | 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.