R/N.R
N.Rd
Returns sample size
N(x, na.rm = FALSE)
numeric value
a logical value indicating whether NA values should be stripped before the computation proceeds.
return the number of real values.
example=c(rnorm(12),NA,NA,NA) # N(example);# versus length(example) N.obs(example) #> [1] 12