valid.n | R Documentation |
Finds the number of valid (not NA) or total values in an object.
valid.n(x,na.rm=TRUE)
x |
An object. |
na.rm |
Whether to count all values (FALSE) or only those not NA. |
‘valid.n’ finds the number of valid values of the object if ‘na.rm=TRUE’.
The number of valid values or the length of the object.
Jim Lemon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.