Learn R Programming

Tsphere (version 1.0)

meanTranspose: Transposable model mean.

Description

Estimates row and column means.

Usage

meanTranspose(x, tol = 1e-06)

Arguments

x
Data matrix.
tol
Tolerance for iterative algorithm when data has missing values.

Value

  • xOriginal data matrix.
  • xcenCentered data matrix.
  • muColumn mean.
  • nuRow mean.
  • MMean matrix.

Details

Estimates the row and column means.

References

G. I. Allen and R. Tibshirani, "Transposable regularized covariance models with an application to missing data imputation", Annals of Applied Statistics, 4:2, 764-790, 2010.

See Also

covTranspose11, TransSphere

Examples

Run this code
x = matrix(rnorm(100*50),100,50)

#row and column centered data matrix
xc = meanTranspose(x)$xcen

Run the code above in your browser using DataLab