Question: Code grade says Q6, Q7 and Q8 are not correct. Why is that? ## Q4: Create a copy of my_fam_heights, called `new_fam_heights`. Change the 3rd
Code grade says Q6, Q7 and Q8 are not correct. Why is that?
## Q4: Create a copy of my_fam_heights, called `new_fam_heights`. Change the 3rd value to 2.2 and store new_fam_heights as Q4.
```{r} ### Do not change and do not delete the comment below. It is required for Code Grade to run properly. # CG Q4 #
### TYPE YOUR CODE BELOW ###
my_fam_heights
### VIEW OUTPUT ### Q4
```
## Q5: Create Q5 with the mean (i.e. average) of Q4.
```{r} ### Do not change and do not delete the comment below. It is required for Code Grade to run properly. # CG Q5 #
### TYPE YOUR CODE BELOW ###
Q5
### VIEW OUTPUT ### Q5
```
## Q6: Round Q5 to one decimal place and assign the result to Q6.
```{r} ### Do not change and do not delete the comment below. It is required for Code Grade to run properly. # CG Q6 #
### TYPE YOUR CODE BELOW ###
Q6
### VIEW OUTPUT ### Q6
```
## Q7: Find the median of Q4 and assign the result to Q7.
```{r} ### Do not change and do not delete the comment below. It is required for Code Grade to run properly. # CG Q7 #
### TYPE YOUR CODE BELOW ###
Q7
### VIEW OUTPUT ### Q7
```
## Q8: Convert all the heights stored in Q4 (as feet) to centimeters and assign the result to Q8.
```{r} ### Do not change and do not delete the comment below. It is required for Code Grade to run properly. # CG Q8 #
### TYPE YOUR CODE BELOW ### conversion_factor
Q8
### VIEW OUTPUT ### Q8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
