Ashley has a data set of sales transactions in the following format Cust Gender Clothing Tech 1 Female 246 64 2 Male 171 345 130 41 Male I 52 58 Which of the following functions will return the average sales for the technology department for females in R? Multiple Choice AVERAGEIF(82.8131, "Female", D2:D131) AVERAGEIF(D2D131, "Female", B2D131) tapply(myDeta$Gender, myDataSTech, mean) tapply(myDataSTech, myData Gender, mean)

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter6: Updating Data
Section: Chapter Questions
Problem 4SCG
icon
Related questions
Question
Ashley has a data set of sales transactions in the following format:
Cust
1
Gender
Clothing
Tech
Female
246
64
2
Male
171
345
130
41
Male
52
58
Saved
Which of the following functions will return the average sales for the technology department for females in R?
Multiple Choice
AVERAGEIF(82.8131, "Female", D2:D131)
AVERAGEIF(D2D131, "Female", B2D131)
tapply(myDeta$Gender, myDataSTech, mean)
tapply(myDasa$Tech, myDataSGender, mean)
Transcribed Image Text:Ashley has a data set of sales transactions in the following format: Cust 1 Gender Clothing Tech Female 246 64 2 Male 171 345 130 41 Male 52 58 Saved Which of the following functions will return the average sales for the technology department for females in R? Multiple Choice AVERAGEIF(82.8131, "Female", D2:D131) AVERAGEIF(D2D131, "Female", B2D131) tapply(myDeta$Gender, myDataSTech, mean) tapply(myDasa$Tech, myDataSGender, mean)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Transaction Processing
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
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr