Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# CG Q 5 a # Use the mean ( ) function to calculate the average points for the Napa Sonoma sub - region. 3

# CG Q5a # Use the mean() function to calculate the average points for the Napa Sonoma sub-region.
33
subsetting. .
34
35
36
# CG Q5b # Use the mean() function to calculate the average price for the Napa Sonoma sub-region fusing a single line of code.
# CG Q6 # Now we'll practice our counting skills again.
38 #### The rating scale being used by these tasters orignally had 91 as the highest possible score
39
40
#### and now goes to 100 for exceedingly delicious wines.
#### Use the sum() function on a logical vector that checks for whether points are greater than 91 or not
#### to count the number of wine ratings with more than 91 points.
# CG Q7a # Now we'll practice subsetting on more than one criteria.
##### Use the mean() function to compute the average points for wines
##### that are chardonnay and from the Napa Sonoma sub-region.
# CG Q7b # More practice subsetting on more than one criteria.
##### Use the mean() function to compute the average price for wines that are ##### either chardonnay or are from the finger lakes sub-region.
# CG Q8 # Use the median() function to find the median price for ##### a Cabernet Sauvignon that is rated higher than 91 points.
mean(x,dots)
image text in transcribed

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

Step: 3

blur-text-image

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

Intelligent Information And Database Systems 12th Asian Conference ACIIDS 2020 Phuket Thailand March 23 26 2020 Proceedings

Authors: Pawel Sitek ,Marcin Pietranik ,Marek Krotkiewicz ,Chutimet Srinilta

1st Edition

9811533792, 978-9811533792

More Books

Students also viewed these Databases questions