Learn R Programming

ISwR (version 2.0-9)

vitcap2: Vital capacity, full data set

Description

The vitcap2 data frame has 84 rows and 3 columns. Age and vital capacity for workers in the cadmium industry.

Usage

vitcap2

Arguments

Format

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).

Examples

Run this code
plot(vital.capacity~age, pch=group, data=vitcap2)

Run the code above in your browser using DataLab