Learn R Programming

MANOVA.RM (version 0.5.4)

o2cons: Oxygen Consumption of Leukocytes

Description

A dataset containing measurements on the oxygen consumption of leukocytes in the presence and absence of inactivated staphylococci.

Usage

data(o2cons)

Arguments

Format

A data frame with 144 rows and 5 variables:

O2

oxygen consumption of leukocytes in \(\mu\)l

Staphylococci

whether or not inactivated staphylococci were added, 1 denotes yes, 0 no

Time

the measurements were taken after 6, 12 and 18 minutes

Group

the treatment group, either P for Placebo or V for Verum

Subject

the subject id

Examples

Run this code
  if(requireNamespace("ggplot2")){ 
  library(ggplot2)
  ggplot(o2cons, aes(x=Group, y=O2)) + geom_point(alpha=0.5) + facet_grid(Staphylococci~Time) +
  stat_summary(fun.y = mean, fun.ymin = min, fun.ymax = max, colour = "red") 
}

Run the code above in your browser using DataLab