coag.df: Blood Coagulation Data

Description Usage Format Source References Examples

Description

Experiment designed to see the effect of four different diets on a subject's blood coagulation time

Usage

1

Format

A data frame with 24 observations on each of the two variables

coag

Blood coagulation time

diet

Which diet they were on either A, B, C or D

Source

Box, G.E.P., Hunter, J.S. Hunter, W.G. Statistics for experimenters, pp 165-197.

References

Box, G.E.P., Hunter, J.S. Hunter, W.G. (1978). Statistics for experimenters, Wiley, New York.

Examples

1
2
3
data(coag.df)
coag.lm <- lm(coag ~ diet,data = coag.df)
anova(coag.lm)

Example output

Loading required package: s20x
Loading required package: leaps
Loading required package: rgl
Loading required package: lattice
Warning messages:
1: In rgl.init(initValue, onlyNULL) : RGL: unable to open X11 display
2: 'rgl_init' failed, running with rgl.useNULL = TRUE 
3: .onUnload failed in unloadNamespace() for 'rgl', details:
  call: fun(...)
  error: object 'rgl_quit' not found 
Analysis of Variance Table

Response: coag
          Df Sum Sq Mean Sq F value    Pr(>F)    
diet       3    228    76.0  13.571 4.658e-05 ***
Residuals 20    112     5.6                      
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

R330 documentation built on May 2, 2019, 2:12 p.m.