Learn R Programming

UsingR (version 2.0-7)

heartrate: Simulated data of age vs. max heart rate

Description

Simulated data of age vs. max heart rate

Usage

data(heartrate)

Arguments

Format

This data frame contains the following columns:

age

a numeric vector

maxrate

a numeric vector

Details

Does this fit the workout room value of 220 - age?

Examples

Run this code
# NOT RUN {
data(heartrate)
plot(heartrate)
abline(lm(maxrate ~ age,data=heartrate))
# }

Run the code above in your browser using DataLab