| pmean | R Documentation |
Parallel mean and median
pmean(..., na.rm = TRUE)
pmedian(..., na.rm = TRUE)
... |
numeric vectors |
na.rm |
logical scalar, default |
The functions pmean() and pmedian() return a numeric vector.
The functions pmean() and pmedian() mimic functions pmax.int and pmin.int.
They are written in a very naive way.
The pipeline cbind() |> rowMeans() is extremely slow.
https://tingtingzhan.quarto.pub/groupedhyperframe/nonS3/pmean.html
pmean(1:3, c(11, 12, 14), c(21, 22, 25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.