Question: 3 . Data Subset ( a ) Subset data D 1 with respect to the condition that column time is equal to Dinner . Name

3. Data Subset
(a) Subset data D1 with respect to the condition that column time is equal to
Dinner. Name the derived data frame as D2.
(b) Remove data set D2 using rm().
(c) Subset data D1 with respect to the condition that column size is greater than 2 and column
smoker is No. Name the derived data frame as D3.
(d) Subset data D1 with respect to the condition that column tip is greater than 4 or column
size is less than 5. Name the derived data frame as D4.
(e) Bind (merge) D3 and D4 and name the new dataset D5

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 Programming Questions!