In: Math
The data below are for 30 people. The independent variable is “age” and the dependent variable is “systolic blood pressure.” Also, note that the variables are presented in the form of vectors that can be used in R.
age=c(39,47,45,47,65,46,67,42,67,56,64,56,59,34,42,48,45,17,20,19,36,50,39,21,44,53,63,29,25,69)
systolic.BP=c(144,20,138,145,162,142,170,124,158,154,162,150,140,110,128,130,135,114,116,124,136,142,120,120,160,158,144,130,125,175)