N | R Documentation |
Returns sample size
N(x, na.rm = FALSE)
x |
numeric value |
na.rm |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.