Hi,
GAUSS returns a 1 instead of zero after the command:
rows(selif(x,x.==3)) whenever the argument of selif is missing. Any simple fix to that?
Thanks,
Matteo
1 Answer
0
If you just need to know how many 3's are in 'x', the simplest fix would be to change your code from:
rows(selif(x,x.==3))
to this:
sumc(x .== 3);
Your Answer
1 Answer
0
If you just need to know how many 3's are in 'x', the simplest fix would be to change your code from:
rows(selif(x,x.==3))
to this:
sumc(x .== 3);