pfun | R Documentation |
Summarize a set of numeric vectors per row
pfun(..., fun, na.rm = TRUE)
psum(..., na.rm = TRUE)
pmean(..., na.rm = TRUE)
pmedian(..., na.rm = TRUE)
psd(..., na.rm = TRUE)
pvar(..., na.rm = TRUE)
pcv(..., na.rm = TRUE)
pp01(..., na.rm = TRUE)
pp025(..., na.rm = TRUE)
pp05(..., na.rm = TRUE)
pp10(..., na.rm = TRUE)
pp25(..., na.rm = TRUE)
pp75(..., na.rm = TRUE)
pp95(..., na.rm = TRUE)
pp975(..., na.rm = TRUE)
pp99(..., na.rm = TRUE)
... |
Numeric vectors of the same length |
fun |
Function to apply |
na.rm |
a logical indicating whether missing values should be removed. |
Calculate summary statistics of the input vectors per row (or 'parallel')
A vector of 'parallel' summaries of the argument vectors.
See also pmin
and pmax
pfun(1:10, fun = mean)
psum(1:10, 10:1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.