medNA: Median

View source: R/shortcuts.R

medNAR Documentation

Median

Description

This is a wrapper for median(x, na.rm = TRUE).

Usage

medNA(x)

Arguments

x

An object for which a method has been defined, or a numeric vector containing the values whose median is to be computed.

Value

Returns a length-one object of the same type as x, except when x is logical or integer of even length, when the result will be double.


ballardao/abmisc documentation built on March 28, 2022, 6:40 a.m.