cudent Number Grades Exam Scores Subjects Year Leve PDM-2021-000852 1.75 78 Cs11-Fprog 1 PDM-2021-001225 1.75 88 Cs11-IntroCom 1 PDM-2020-001223 2.25 70 CS21- DigD 2 PDM-2020-000851 2.25 84 CS21-DS1 2 PDM-2020-000848 1.5 80 CS31-Algoc 3 PDM-2019-001224 2 78 CS31-BA PDM-2019-001042 1.75 78 CS31-OS 3 PDM-2019-001224 2.5 74 CS32-SE2 3 PDM-2013-001046 2.25 82 CS41-OJT 4 PDM-2013-000805 2 78 CS41- Thesis 1 4 PDM-2013-001233 2 74 CS41- IAS 4 PDM-2021-000717 2.25 82 CS11-Fprog 1 PDM-2021-000853 1.75 92 CS11-IntroCom 1 PDM-2013-000803 1.75 45 CS41-OJT 4 PDM-2013-001303 76 CS41- Thesis 1 4 PDM-2013-000802 2 78 CS41- IAS 4 PDM-2020-001043 2 88 CS21-DS1 PDM-2021-000855 2 78 Cs11-Fprog 1 PDM-2021-001302 2.5 80 CS11-IntroCom 1 PDM-2013-001047 1.75 86 CS41-OJT 4 3.

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 to  Answer Programm

Software compiler: RStudio

 

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
Provide appropriate code for the following requirements.
Referto the Excelfile for the data set.
1. Create first an array using c() function then perform the following:
a. display data first five (5) data from the subject dataset.
b. display all data from subject dataset using seq_along() function
2. Based from the given dataset create an array then input the data from grade and exam score
columns.
a. Use the apply() function to getthe 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()
d.
3. Create groups of student numbers based on subject using cut() function.
4. Use split() function to s split based on the subject.
Transcribed Image Text:Provide appropriate code for the following requirements. Referto the Excelfile for the data set. 1. Create first an array using c() function then perform the following: a. display data first five (5) data from the subject dataset. b. display all data from subject dataset using seq_along() function 2. Based from the given dataset create an array then input the data from grade and exam score columns. a. Use the apply() function to getthe 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() d. 3. Create groups of student numbers based on subject using cut() function. 4. Use split() function to s split based on the subject.
Expert Solution
steps

Step by step

Solved in 6 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