meanFun {marray}R Documentation

A function that calculates the average of each gene in a multi-slide microarray experiment

Description

Returns a function that calculate mean.

Usage

meanFun(y = NULL, na.rm = TRUE)

Arguments

y vector of class labels. Must consist of integers 1 and 2.
na.rm If TRUE, the NA's are omit from the analysis.

Value

Returns a function with bindings for 'y' (class labels) that will calculate average across slides.

Author(s)

Yee Hwa (Jean) Yang

See Also

mean

Examples

x <- rnorm(10)
y <- meanFun()
y(x)

[Package marray version 1.5.14 Index]