Description Usage Arguments Details Value Author(s) References See Also Examples
Estimates row and column means.
1 | meanTranspose(x, tol = 1e-06)
|
x |
Data matrix. |
tol |
Tolerance for iterative algorithm when data has missing values. |
Estimates the row and column means.
x |
Original data matrix. |
xcen |
Centered data matrix. |
mu |
Column mean. |
nu |
Row mean. |
M |
Mean matrix. |
Genevera I. Allen
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.
1 2 3 4 | x = matrix(rnorm(100*50),100,50)
#row and column centered data matrix
xc = meanTranspose(x)$xcen
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.