powered by
The vitcap2 data frame has 84 rows and 3 columns. Age and vital capacity for workers in the cadmium industry.
vitcap2
This data frame contains the following columns:
group
a numeric vector; group codes are 1: exposed > 10 years, 2: exposed < 10 years, 3: not exposed.
age
a numeric vector, age in years.
vital.capacity
a numeric vector, vital capacity (a measure of lung volume) (l).
plot(vital.capacity~age, pch=group, data=vitcap2)
Run the code above in your browser using DataLab