View source: R/Partial_Moments.R
| Co.LPM_nD | R Documentation |
This function generates an n‑dimensional co‑lower partial moment (n >= 2) for any degree or target.
Co.LPM_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 lower deviations (0 = frequency, 1 = area). |
norm |
logical; if |
Numeric; the n‑dimensional co‑lower partial moment.
## Not run:
mat <- matrix(rnorm(200), ncol = 4)
Co.LPM_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.