Description Usage Arguments Value Author(s)
Adaptations of common summary statistical functions
to return NA if all elements of x are NA. The prefix 'sp' could
be thought of as 'special'. These are internal functions used by
summaryStats.
1 2 3 4 5 6 7 | sp.min(x)
sp.max(x)
sp.sum(x)
sp.count(x)
sp.mean(x)
sp.skewness(x)
sp.kurtosis(x)
|
x |
Numeric vector |
sp.min, sp.max, sp.sum operate just like
min, max, and sum except they
return NA if all elements of x are NA.
sp.count returns the number of non-missing values in the vector.
However, if all values are missing, it returns NA.
Landon Sego
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.