Learn R Programming

ISwR (version 2.0-9)

bp.obese: Obesity and blood pressure

Description

The bp.obese data frame has 102 rows and 3 columns. It contains data from a random sample of Mexican-American adults in a small California town.

Usage

bp.obese

Arguments

Format

This data frame contains the following columns:

sex

a numeric vector code, 0: male, 1: female.

obese

a numeric vector, ratio of actual weight to ideal weight from New York Metropolitan Life Tables.

bp

a numeric vector,systolic blood pressure (mm Hg).

Examples

Run this code
plot(bp~obese,pch = ifelse(sex==1, "F", "M"), data = bp.obese)

Run the code above in your browser using DataLab