Question: #2. Typing data in R [30 points]: The following table gives the daily expense of three people for 20 days. Expense1 Expense2 Expense3 132 50

#2. Typing data in R [30 points]: The following table gives the daily expense of three people for 20 days.

Expense1 Expense2 Expense3
132 50 60
78 44 43
39 35 51
92 800 88
51 26 261
52 28 128
87 41 41
91 21 25
35 61 18
145 82 81
950 49 94
99 33 31
66 74 98
17 30 130
12 33 323
90 41 141
82 31 321
160 35 50
138 41 1011
561 42 20

Type in the data in R then do the following:

  1. Which average expense is the highest? second highest? and lowest? Submit R code, output, and then your comments on the answer. [15 points]

  1. Are there outliers are there in expense 3? Verify using a box plot. [15 points]

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