Rstudio, Create a factor, based on the information given: Out of 27 respondents considered in the survey, the respondents specify that their favorite subjects are mathematics, statistics, and science with 12, 5, and 10 of the total respondents, respectively. Create a factor, based on the information given. 2. Using the given Rstudio in the picture, select students with grades in mathematics at most 85 and at least 85 in statistics.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

1. Using Rstudio, Create a factor, based on the information given: Out of 27 respondents considered in the survey, the respondents specify that their favorite subjects are mathematics, statistics, and science with 12, 5, and 10 of the total respondents, respectively. Create a factor, based on the information given.

2. Using the given Rstudio in the picture, select students with grades in mathematics at most 85 and at least 85 in statistics.

O Untitied1x
aH Source on Save a-E
+ OI Source
Run
1
Data Framе
2
3 name <- c("Elen", "Mae", "Karen", "Laila", "Eric", "Joshua", "Francis", "Kat", "Erika", "Camille", "Rhea")
4
5 math_grades <- c(89, 78, 90, 88, 92, 87, 50, 78, 80, 89, 89)
6
7 stat_grades <- c(76, 90, 94, 79, 77, 95, 80, 90, 85, 75, 91)
8
9 data_frame <- data. frame (name, math_grades, stat_grades)
10 data_frame
11
12
11:1
(Top Leve) :
Console
Terminal x
Jobs x
R R4.1.2- /
> name <- c("Elen", "Mae", "Karen", "Laila", "Eric", "Joshua", "Francis", "Kat", "Erika", "Camille", "Rhea")
> nath_grades <- c(89, 78, 90, 88, 92, 87, 50, 78, 80, 89, 89)
> stat_grades <- c(76, 90, 94, 79, 77, 95, 80, 90, 85, 75, 91)
> data_frame <- data. frame(name, math_grades, stat_grades)
> data_frame
name math_grades stat_grades
Elen
мае
89
78
76
2
90
3
Karen
Laila
Eric
Joshua
Francis
90
88
92
87
50
78
80
89
94
79
77
Kat
Erika
10 Camille
95
80
90
85
75
11
Rhea
89
91
Transcribed Image Text:O Untitied1x aH Source on Save a-E + OI Source Run 1 Data Framе 2 3 name <- c("Elen", "Mae", "Karen", "Laila", "Eric", "Joshua", "Francis", "Kat", "Erika", "Camille", "Rhea") 4 5 math_grades <- c(89, 78, 90, 88, 92, 87, 50, 78, 80, 89, 89) 6 7 stat_grades <- c(76, 90, 94, 79, 77, 95, 80, 90, 85, 75, 91) 8 9 data_frame <- data. frame (name, math_grades, stat_grades) 10 data_frame 11 12 11:1 (Top Leve) : Console Terminal x Jobs x R R4.1.2- / > name <- c("Elen", "Mae", "Karen", "Laila", "Eric", "Joshua", "Francis", "Kat", "Erika", "Camille", "Rhea") > nath_grades <- c(89, 78, 90, 88, 92, 87, 50, 78, 80, 89, 89) > stat_grades <- c(76, 90, 94, 79, 77, 95, 80, 90, 85, 75, 91) > data_frame <- data. frame(name, math_grades, stat_grades) > data_frame name math_grades stat_grades Elen мае 89 78 76 2 90 3 Karen Laila Eric Joshua Francis 90 88 92 87 50 78 80 89 94 79 77 Kat Erika 10 Camille 95 80 90 85 75 11 Rhea 89 91
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Decision Table
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education