minb_fun | R Documentation |
Calculates the smallest possible modulus value, i.e., ω(0).
minb_fun(C_pair, X, mon_ind, swap = FALSE)
C_pair |
a pair of smoothness parameters (C, C'). |
X |
A data matrix. |
mon_ind |
index number for monotone variables. |
swap |
indicator for whether we take (C', C) instead of (C, C'). |
the value of the smallest possible modulus value.
X <- matrix(c(1, -2, -3, 4, 5, -6), nrow = 3, ncol = 2) mon_ind <- c(1, 2) C_pair <- c(0.5, 1) C_pair2 <- c(Inf, 1) minb_fun(C_pair, X, mon_ind) minb_fun(C_pair2, X, mon_ind)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.