R/IterCrossV_functions.R
meandiff_distri.RdMean difference between a distribution and a set of others with or without weights
meandiff_distri(x, n, w, comp.n = TRUE)
| x | matrix with distribution in rows |
|---|---|
| n | Number of the column to compare with |
| w | vector of weights with length = ncol(x) |
| comp.n | Logical Whether to output x-x[n,] matrix |