Description Usage Arguments Value Note References Examples
View source: R/calcDepth_asymp.R
calcDepth_asymp
calculates the K-sign depth of a given
vector of residuals (asymptotically).
1 | calcDepth_asymp(res, K, transform = FALSE, exact = TRUE)
|
res |
[ |
K |
[ |
transform |
[ |
exact |
[ |
[numeric(1)
] the calculated K-sign depth of res
.
The implementation is based on a work of Dennis Malcherczyk.
Malcherczyk, D. (2021+). K-sign depth: Asymptotic distribution, efficient computation and applications. Dissertation in preparation.
1 2 3 | calcDepth_asymp(rnorm(10), 3)
calcDepth_asymp(runif(100, -1, 1), 4, transform = TRUE)
calcDepth_asymp(runif(100, -1, 1), 4, transform = TRUE, exact = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.