summary_median: Median function

Description Usage Arguments Value Author(s)

View source: R/summary_functions.R

Description

Median function

Usage

1
summary_median(x, na.rm = FALSE, na_type = "", ...)

Arguments

x

A numeric vector.

na.rm

A vector of strings that defines the type of missing value criteria e.g "n", "con", "prop", "FUN".

na_type

A vector of strings that defines the type of missing value criteria e.g "n", "con", "prop", "FUN".

...

Additional parameters that could be passed internally. for example "na_consecutive_n = 3" to define the maximum allowed number of consecutive missing values. Other parameters include "na_max_n", "na_min_n","n_non_miss", "na_max_prop"' for maximum, minimum and proportion of missing values.

Value

The middle value in the series.

Author(s)

Shadrack Kibet


shadrackkibet/summaryR documentation built on Jan. 2, 2020, 12:54 a.m.