median2: Median over positive values

Description Usage Arguments Value

View source: R/gene_statistics.R

Description

This function computes the median over strictly positive values, Inf excluded.

Usage

1
median2(x, na_rm = FALSE)

Arguments

x

A numeric vector.

na_rm

A logical value indicating whether NA values should be stripped before the computation proceeds.

Value

The median value, a scalar.


ramiromagno/oscillation documentation built on April 20, 2020, 10:37 a.m.