Learn R Programming

ISwR (version 2.0-9)

vitcap: Vital capacity

Description

The vitcap data frame has 24 rows and 3 columns. It contains data on vital capacity for workers in the cadmium industry. It is a subset of the vitcap2 data set.

Usage

vitcap

Arguments

Format

This data frame contains the following columns:

group

a numeric vector; group codes are 1: 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) in liters.

Examples

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

Run the code above in your browser using DataLab