View source: R/cellwise_utils.R
| cellWeightsMCD | R Documentation |
For each continuous cell (i,j), computes the conditional expectation
E(x_{ij} | x_{i,-j}) under a robust Gaussian model (estimated via MCD),
standardizes the residual, and applies a weight function. This captures
multivariate outlier structure that univariate standardization misses.
cellWeightsMCD(X, method = "tukey", alpha = NULL)
X |
a data frame or matrix of dimension n x p (continuous columns only) |
method |
weight function: |
alpha |
tuning constant. If |
an n x p numeric matrix of weights in [0, 1]
Matthias Templ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.