View source: R/Partial_Moments.R
| DPM_nD | R Documentation |
This function generates the aggregate n‑dimensional divergent partial moment (n >= 2) for any degree or target.
DPM_nD(data, target, degree = 0, norm = TRUE)
data |
A numeric matrix with observations in rows and variables in columns. |
target |
A numeric vector, length equal to ncol(data). |
degree |
numeric; degree for upper deviations (0 = frequency, 1 = area). |
norm |
logical; if |
Numeric; the n‑dimensional co‑upper partial moment.
## Not run:
mat <- matrix(rnorm(200), ncol = 4)
DPM_nD(mat, rep(0, ncol(mat)), degree = 1, norm = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.