Question: 4. (20 points) ```{r} # Please make sure you have the following two packages installed library(dplyr) library(magrittr) ``` Use `filter()` to find a subset of

4. (20 points)

```{r} # Please make sure you have the following two packages installed library(dplyr) library(magrittr) ```

Use `filter()` to find a subset of `Pima.tr` where `type` is `yes`. Name this subset `subset_yes`.

```{r} # Your code ```

In this subset, change the column name `bp` to `blood_pressure`, and `npreg` to `number_of_preg`. ```{r} # Your code ```

Use `arrange()` to sort `subset_yes` by `age` in decending order, and then `skin` in ascending order.

```{r} # Your code ```

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!