Learn R Programming

faraway (version 1.0.7)

hemoglobin: Treatment of insulin dependent diabetic children

Description

16 insulin-dependent diabetic children were enrolled in a study involving a new treatment. 8 children received the new treatment(N) while the other 8 received the standard treatment(S). The age and sex of the child was recorded along with the measured value of gycosolated hemoglobin both before and after treatment.

Usage

data(hemoglobin)

Arguments

Format

A data frame with 16 observations on the following 5 variables.

age

age in years

sex

a factor with levels F M

treatment

a factor with levels N S

pre

measured value of hemoglobin before treatment

post

measured value of hemoglobin after treatment

Examples

Run this code
data(hemoglobin)
## maybe str(hemoglobin) ; plot(hemoglobin) ...

Run the code above in your browser using DataLab