Open tombisho opened 3 years ago
If a variable is completely NA then ds.mean() and ds.var() return the error:
ds.mean()
ds.var()
Nvalid less than nfilter.tab
and the call fails. I am not sure that is the right behaviour because that is confusing for the analyst, perhaps they should return NA and not fail?
So the suggested behavior would be:
This seem sensible, but I will seek advice.
Stuart
Yes I think your answer is more complete than mine 😀
If a variable is completely NA then
ds.mean()
andds.var()
return the error:and the call fails. I am not sure that is the right behaviour because that is confusing for the analyst, perhaps they should return NA and not fail?