Skip to content
Prev 308503 / 398513 Next

can't find the error in if function... maybe i'm blind?

Learn how to debug your programs.  Start with

options(error = recover)

this will give you control at the point of the error so you can examine values.  Most likely one of the variables in the 'if' expression is an NA.

Sent from my iPad
On Oct 20, 2012, at 6:27, Janosch <Janosch1985 at web.de> wrote: