Answered step by step
Verified Expert Solution
Question
1 Approved Answer
## Problem 2 Imagine trying to buy a new calculator. We have collected some data about calculators available on amazon.com. Below we have a data
## Problem 2 Imagine trying to buy a new calculator. We have collected some data about calculators available on amazon.com. Below we have a data frame with information about these calculators: brand", "price`, `color`, `rating', and `num.reviews'. "''{r 2} calculators = data.frame(brand = c("Mookii", "Helect", "Splaks", "Eastpin", "Casio", "TI", "Ebristar", "Helect"), price = c(7.73,7.99,11.98,10.99, 8.99, 10.79, 12.99, 8.98), color = c("black", "black", "silver", "silver", "silver", "silver", "grey", "silver"), rating = c(4.2,4.4,3.9,4.5, 4.7,4.7, 4.3, 4.5), num.reviews = c(356, 2055,512,424, 1478,486, 39, 399)) #### 2a With the calculators data frame, use the filter function to choose rows who have a 'price' less than 12 dollars. Store the filtered data frame as 'calculators. 2a'. (hint: use price
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started