SyntaxFix
Write A Post
Hire A Developer
Questions
You can easily catch integer(0) with function identical(x,y)
x = integer(0) identical(x, integer(0)) [1] TRUE foo = function(x){identical(x, integer(0))} foo(x) [1] TRUE foo(0) [1] FALSE