inst/snippets/Example2.11.R

ICU20 <- subset(ICUAdmissions, Age == "20")
mean( ~ HeartRate, data = ICU20)
median( ~ HeartRate, data = ICU20)
ICU55 = subset(ICUAdmissions, Age == "55")
mean( ~ HeartRate, data = ICU55)
median( ~ HeartRate, data = ICU55)

Try the Lock5withR package in your browser

Any scripts or data that you put into this service are public.

Lock5withR documentation built on May 2, 2019, 3:43 p.m.