R/nobs.R
nobs.Rd
Count non-missing values in v.
nobs(v)
A vector.
integer, length of x minus the number of NAs in x.
Returns the number of non-missing values in vector v. A convenience wrapper around sum(!is.na(v)).
sum(!is.na(v))
David Braze davebraze@gmail.com