> Thanks Joshua and Sven - I completely forgot about which() . Also na.omit(p[p<=0.05]) #and p[p<=0.05 & !is.na(p)] S. ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}