filter funcs for R (NA instead of N)