Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

use R as coding language and answer asap

image text in transcribed
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

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

Advanced Engineering Mathematics

Authors: Dennis G Zill, Warren S Wright

5th Edition

1449679781, 9781449679781

More Books

Students also viewed these Mathematics questions

Question

find all matrices A (a) A = 13 (b) A + A = 213

Answered: 1 week ago