mean {BiocGenerics}R Documentation

Arithmetic Mean

Description

Generic function for the (trimmed) arithmetic mean.

NOTE: This man page is for the mean S4 generic function defined in the BiocGenerics package. See ?base::mean for the default method (defined in the base package). Bioconductor packages can define specific methods for objects (typically vector-like) not supported by the default method.

Usage

mean(x, ...)

Arguments

x

typically a vector-like object

...

see mean

Value

See ?base::mean for the value returned by the default method.

Specific methods defined in Bioconductor packages will typically return an object of the same class as the input object.

See Also

Examples

mean
showMethods("mean")
selectMethod("mean", "ANY")  # the default method

[Package BiocGenerics version 0.24.0 Index]