Learn R Programming

SCBmeanfd (version 1.2.2)

plasma: Plasma citrate data

Description

Plasma citrate concentrations measured on 10 human subjects on the same day. The measurements on an individual were taken each hour from 8:00AM to 9:00PM. A possible statistical analysis is to estimate the population mean plasma citrate concentration as a function of time of day.

Usage

data(plasma)

Arguments

Format

A matrix with 10 rows (corresponding to subjects) and 14 columns (corresponding to hours).

Source

Andersen, A. H., Jensen, E. B. and Schou, G. (1981). Two-way analysis of variance with correlated errors. International Statistical Review 49, 153--157. Hart, T. D. and Wehrly, T. E. (1986). Kernel regression estimation using repeated measurements data. Journal of the American Statistical Association 81, 1080--1088.

Examples

Run this code
## Not run: 
# data(plasma)
# matplot(x = 8:21, y = t(plasma), cex = .75, type = "l", col = 1, lty = 1,
#   lwd = .5, xlab = "Time of day (hour)", ylab = "Concentration", 
#   main = "Plasma citrate data")
# lines(8:21, colMeans(plasma), col = 2, lwd = 1.5)
# legend("topright", col = 2, lty = 1, lwd = 1.5, legend = "Mean")## End(Not run)

Run the code above in your browser using DataLab