Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question in R id name major gender grade course 1 101 Bill CIS M 92 CIS240 2 102 Mary CIS F 88 CIS240 3 103

Question in R

id name major gender grade course

1 101 Bill CIS M 92 CIS240

2 102 Mary CIS F 88 CIS240

3 103 Sue Marketing F 82 MKT115

4 104 Tom Finance M 78 DBA120

5 105 Alex CIS M 96 CIS240

6 106 Sam Marketing M 67 MKT115

7 107 Jane Finance F 95 DBA120

Please write down R codes to create a subset and name it student_excellent from data frame student. All of students inside the student_excellent exam grades must be greater than 90. You also need to write down R codes to display the number of female students inside student_excellent (10 points)

Your output should look like the following.

id name major gender grade course

1 101 Bill CIS M 92 CIS240

5 105 Alex CIS M 96 CIS240

7 107 Jane Finance F 95 DBA120

[1] 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions