powered by
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.
bp.obese
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).
plot(bp~obese,pch = ifelse(sex==1, "F", "M"), data = bp.obese)
Run the code above in your browser using DataLab