Re: [R] Problem with assignment 1 part 1

2014-08-11 Thread John McKown
ion, that the form of the ifelse() is: ifelse(condition,result-if-condition-true,result-if-condition-false.) Hopefully this is a sufficient clew to get you going. I won't comment on the rest of the code because I don't know the problem. Or what "forum" you're talking abo

Re: [R] Problem with assignment 1 part 1

2014-08-10 Thread John McKown
What code. Also, the forum has a "no homework" policy. Your subject implies this is homework, so you might not get any answers. You might get a hint or two though. On Aug 10, 2014 10:00 PM, "michelle maurin" wrote: > I think my code is very close I can seem to be able to debug it Might be > some

Re: [R] Problem with assignment 1 part 1

2014-08-10 Thread Hasan Diwan
We can try, but we're not going to be able to do much without the code being pasted in the email. -- H On 10 August 2014 19:08, michelle maurin wrote: > I think my code is very close I can seem to be able to debug it Might be > something very simple I know the problem is on the last 3 lines of

[R] Problem with assignment 1 part 1

2014-08-10 Thread michelle maurin
I think my code is very close I can seem to be able to debug it Might be something very simple I know the problem is on the last 3 lines of code can you please help? Thanks Michelle __ R-help@r-project.org maili