Question: Q 2 Create a 2 x 2 dataframe that shows the average number of times per week a person exercised for both those who had
Q Create a x dataframe that shows the average number of times per week a person exercised for both those who had a stroke and those who didn't.
Summarize the average in a variable called exeravg
The output should be a dataframe assigned to Q and look something like this:
CVDSTRK exeravg
r
### Do not edit the following line. It is used by CodeGrade.
# CG Q #
### TYPE YOUR CODE BELOW ###
Q brf
filterCVDSTRK & CVDSTRK
filterEXEROFT & EXEROFT
groupbyCVDSTRK
summariseexeravg meanEX
this what I got so far wrong results it's in R not Python
CVDSTRK
exeravg
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
