Question: use R as coding language and answer asap D Question 6 2 pts Suppose Leslie Knope records the number of waffles she orders from J.J.'s

use R as coding language and answer asap

D Question 6 2 pts Suppose Leslie Knope records the number of waffles she orders from J.J.'s Diner for a month. Leslie stores her data in the waffles object, which is a numeric vector where the ith entry is the number of waffles Leslie ordered on the ith day of the month. On days when she did not order any waffles, she records a 0. Leslie wants to extract/subset the data only for days in which she ordered waffles. She uses the following command: > waffles [-(waffles == 0) ] Explain why this is not correct, and write a correct command. Edit View Insert Format Tools Table 12pt ~ Paragraph B I U A BV TV * 8 V
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
