Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Critical reasoning is an important antecedent to change.

Answered: 1 week ago