I have a test data of a certain group of patients for their heart rate, blood pressure, BMI, and other demographics. These data were measure before and after they began their fitness sessions. So, we measured before they attended as “pre” data, and after each session they attended as “post” data. We also noted the number of sessions they have attended and used that measurements as post. What I want to do is see how blood pressure, BMI, and heart rate improved for the group of patients by number of sessions they attended. I wanna do it two ways: one keeping sessions as numeric values, and next analysis by categorizing it into four groups - <10, 10-20,20-30,>30. I’m using R.
Data looks like the following: This is only a sample. The actual data consists of a many other variables for 180 patients.
Pre.hr <- c(70,60,90,99,92,87)
Post.hr <- c(65,62,78,80,82,91)
Pre.bp <- c(150,120,140,130,140,152)
Post.bp <- c(140,120,138,124,132,128)
sessions.attend <- c(27,5,18,14,12,2)
What kind of tests can I perform to show the relationship of fitness sessions attended with the improvement of the numbers. I want to be able to say, this is the number of sessions that should be taken to see improvement in blood pressure or BMI or something like that.