HW2 Q2 - abline(out) 2 4 6 8 10 12 14 16 5 10 15 20 25 30...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
temp=c(2,4,6,8,10,12,14,16) heart_rate=c(4,11,9,13,21,24,29,27) plot(temp,heart_rate) out=lm(heart_rate~temp)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: abline(out) 2 4 6 8 10 12 14 16 5 10 15 20 25 30 temp heart_rate...
View Full Document

This note was uploaded on 02/10/2012 for the course STAT 333 taught by Professor Rick during the Spring '11 term at Wisconsin Milwaukee.

Ask a homework question - tutors are online