medianPolish: Return the Median Polish (Robust Twoway Decomposition) of a...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/aggregate.R

Description

Fits an additive model (two way decomposition) using Tukey's median polish procedure using stats::medpolish().

Usage

1
medianPolish(x, verbose = FALSE, ...)

Arguments

x

A matrix of mode numeric.

verbose

Default is FALSE.

...

Additional arguments passed to stats::medpolish().

Value

A numeric vector of length identical to ncol(x).

Author(s)

Laurent Gatto

See Also

Other Quantitative feature aggregation: aggregate_by_vector(), colCounts(), robustSummary()

Examples

1
2
x <- matrix(rnorm(30), nrow = 3)
medianPolish(x)

MsCoreUtils documentation built on Nov. 8, 2020, 10:59 p.m.