Question: I'm not sure if Q4 is correct also having trouble with starting Q5 I'm new to data science ## Q4: Create a copy of my_fam_heights,
I'm not sure if Q4 is correct also having trouble with starting Q5 I'm new to data science
## 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 <- c(1.5, 1.7, 1.8, 1.9)
new_fam-heights <- my_fam_heights
new_fam_heights[3] <- 2.2
### 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 ###
### 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 ###
### VIEW OUTPUT ###
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
