Hi:
my_code <- function(a,b,c)
{d<-(b>=a<=c)
return(d)}
Can you spot what is wrong with this return code? Is subvector d made wrong?
Hi:
my_code <- function(a,b,c)
{d<-(b>=a<=c)
return(d)}
Can you spot what is wrong with this return code? Is subvector d made wrong?
No problem with the return, but you can't make two comparisons at once, you need to use &.