Skip to content
Prev 206871 / 398503 Next

coping with a warning in if()

Look at what happens when you don't pass in 'result':
[1] TRUE TRUE

result is a vector of length two and provides two results and the 'if'
was only expecting one.  You might have to debug your code some more.

You probably want to use 'missing' and not 'is.null'

2010/1/19 H?ctor Villalobos <hvillalo at ipn.mx>: