pmedian: Compute parallel medians

Description Usage Details

View source: R/util.R

Description

Computes the element-wise median of multiple vectors.

Usage

1
pmedian(..., na.rm = TRUE)

Details

The motivation behind this function is the base R functions 'pmin' and 'pmax'.

A more general way to approach this type of problem is with '[purrr::lift()]'.


lukerobert/luketools documentation built on Jan. 24, 2020, 2:15 a.m.