Ifrom the given dataset create an array then input the data from grade and exam score columns. Base a. Use the apply() function to get the mean b. Create a data frame and input the grade and exam score. Use the iapply() then use data frame to display the mean. c. Display the mean of the scores using tapply() and sapply()

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Please need Help I need source code to answer this Picture 

Compiler Use: Rstudio

Please Program and send me a code to answer :)

 

Activityset - Microsoft Excel
File
Home
Insert
Page Layout
Formulas
Data
Review
View
* Cut
Calibri
11
AA A
E Wrap Text
General
Normal
Bad
a Copy
Paste
B
V Format Painter
a Merge & Center -
Conditional Format as Neutral
Calculation
Formatting - Table -
Clipboard
Font
Alignment
Number
Styles
J12
A
B
D
F
G
H
K
L
1
Student Number
Grades
Exam Scores
Subjects
Year Level
2
PDM-2021-000852
1.75
78
CS11-Fprog
1
4 PDM-2021-001225
1.75
88
CS11-IntroCom
1
PDM-2020-001223
2.25
70
CS21- DigD
6
PDM-2020-000851
2.25
84
CS21-DS1
2
PDM-2020-000848
1.5
80
CS31-Algoc
3
8 PDM-2019-001224
2
78
CS31-BA
3
9 PDM-2019-001042
1.75
78
CS31-OS
3
10 PDM-2019-001224
2.5
74
CS32-SE2
11 PDM-2013-001046
2.25
82
CS41-OJT
4
12 PDM-2013-000805
2
78
CS41- Thesis 1
4
13 PDM-2013-001233
2
74
CS41- IAS
4.
14 PDM-2021-000717
2.25
82
CS11-Fprog
1
15 PDM-2021-000853
1.75
92
CS11-IntroCom
1
16 PDM-2013-000803
1.75
45
CS41-OJT
4
17 PDM-2013-001303
2
76
CS41- Thesis 1
18 PDM-2013-000802
2
78
CS41- IAS
4
19 PDM-2020-001043
2
88
CS21-DS1
2
20 PDM-2021-000855
78
CS11-Fprog
1
21 PDM-2021-001302
2.5
80
CS11-IntroCom
1
22 PDM-2013-001047
1.75
86
CS41-OJT
4
23
24
25
26
27
28
29
30
Transcribed Image Text:Activityset - Microsoft Excel File Home Insert Page Layout Formulas Data Review View * Cut Calibri 11 AA A E Wrap Text General Normal Bad a Copy Paste B V Format Painter a Merge & Center - Conditional Format as Neutral Calculation Formatting - Table - Clipboard Font Alignment Number Styles J12 A B D F G H K L 1 Student Number Grades Exam Scores Subjects Year Level 2 PDM-2021-000852 1.75 78 CS11-Fprog 1 4 PDM-2021-001225 1.75 88 CS11-IntroCom 1 PDM-2020-001223 2.25 70 CS21- DigD 6 PDM-2020-000851 2.25 84 CS21-DS1 2 PDM-2020-000848 1.5 80 CS31-Algoc 3 8 PDM-2019-001224 2 78 CS31-BA 3 9 PDM-2019-001042 1.75 78 CS31-OS 3 10 PDM-2019-001224 2.5 74 CS32-SE2 11 PDM-2013-001046 2.25 82 CS41-OJT 4 12 PDM-2013-000805 2 78 CS41- Thesis 1 4 13 PDM-2013-001233 2 74 CS41- IAS 4. 14 PDM-2021-000717 2.25 82 CS11-Fprog 1 15 PDM-2021-000853 1.75 92 CS11-IntroCom 1 16 PDM-2013-000803 1.75 45 CS41-OJT 4 17 PDM-2013-001303 2 76 CS41- Thesis 1 18 PDM-2013-000802 2 78 CS41- IAS 4 19 PDM-2020-001043 2 88 CS21-DS1 2 20 PDM-2021-000855 78 CS11-Fprog 1 21 PDM-2021-001302 2.5 80 CS11-IntroCom 1 22 PDM-2013-001047 1.75 86 CS41-OJT 4 23 24 25 26 27 28 29 30
Based from the given dataset create an array then input the data from grade and exam score
columns.
a. Use the apply() function to get the mean
b. Create a data frame and input the grade and exam score. Use the iapply() then use data
frame to display the mean.
c. Display the mean of the scores using tapply() and sapply()
Transcribed Image Text:Based from the given dataset create an array then input the data from grade and exam score columns. a. Use the apply() function to get the mean b. Create a data frame and input the grade and exam score. Use the iapply() then use data frame to display the mean. c. Display the mean of the scores using tapply() and sapply()
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY