o2cons | R Documentation |
A dataset containing measurements on the oxygen consumption of leukocytes in the presence and absence of inactivated staphylococci.
data(o2cons)
A data frame with 144 rows and 5 variables:
oxygen consumption of leukocytes in \mu
l
whether or not inactivated staphylococci were added, 1 denotes yes, 0 no
the measurements were taken after 6, 12 and 18 minutes
the treatment group, either P for Placebo or V for Verum
the subject id
Friedrich, S., Brunner, E. & Pauly, M. (2017). Permuting longitudinal data in spite of the dependencies. Journal of Multivariate Analysis, 153, 255-265.
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")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.