Skip to main content
Post Closed as "Not suitable for this site" by Starship, Anton Menshov, Arulkumar, zcoop98, SpevacusMod
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I believe that this auditthis audit is a bad audit. (hm, for some reason it now says someone else reviewed and passed it, but I failed. maybe because I typed this question before pressing "I understand," so it got passed on to someone else. anyway,) The question text was:

I have a sequence of 0s and 1s in this manner:

xx <- c(0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 
                    0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1)

And I want to select the 0s and the first 1s.

The results should be:

ans <- c(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1)

What's the fastest way? in R

I clicked "close" so I could vote to close as "must demonstrate a minimal understanding," but then the audit message slapped me.

I know the criteria for an audit, but I just want to know: is this one correct? Should have I selected "Leave Open," and why? Or is it just another bad audit?

I believe that this audit is a bad audit. (hm, for some reason it now says someone else reviewed and passed it, but I failed. maybe because I typed this question before pressing "I understand," so it got passed on to someone else. anyway,) The question text was:

I have a sequence of 0s and 1s in this manner:

xx <- c(0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 
                    0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1)

And I want to select the 0s and the first 1s.

The results should be:

ans <- c(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1)

What's the fastest way? in R

I clicked "close" so I could vote to close as "must demonstrate a minimal understanding," but then the audit message slapped me.

I know the criteria for an audit, but I just want to know: is this one correct? Should have I selected "Leave Open," and why? Or is it just another bad audit?

I believe that this audit is a bad audit. (hm, for some reason it now says someone else reviewed and passed it, but I failed. maybe because I typed this question before pressing "I understand," so it got passed on to someone else. anyway,) The question text was:

I have a sequence of 0s and 1s in this manner:

xx <- c(0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 
                    0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1)

And I want to select the 0s and the first 1s.

The results should be:

ans <- c(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1)

What's the fastest way? in R

I clicked "close" so I could vote to close as "must demonstrate a minimal understanding," but then the audit message slapped me.

I know the criteria for an audit, but I just want to know: is this one correct? Should have I selected "Leave Open," and why? Or is it just another bad audit?

Source Link
Doorknob
  • 45.5k
  • 15
  • 102
  • 196

Would you fail this close votes audit?

I believe that this audit is a bad audit. (hm, for some reason it now says someone else reviewed and passed it, but I failed. maybe because I typed this question before pressing "I understand," so it got passed on to someone else. anyway,) The question text was:

I have a sequence of 0s and 1s in this manner:

xx <- c(0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 
                    0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1)

And I want to select the 0s and the first 1s.

The results should be:

ans <- c(0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1)

What's the fastest way? in R

I clicked "close" so I could vote to close as "must demonstrate a minimal understanding," but then the audit message slapped me.

I know the criteria for an audit, but I just want to know: is this one correct? Should have I selected "Leave Open," and why? Or is it just another bad audit?