Vminus | R Documentation |
Calculates rowwise (x)_{V-} for each row x
of a matrix X
.
Vminus(X, mon_ind)
X |
A data matrix. |
mon_ind |
index number for monotone variables. |
A matrix in the same dimension of X
,
after (x)_{V-} was applied to each row x of X
.
X <- matrix(c(1, -2, -3, 4, 5, -6), nrow = 3, ncol = 2) mon_ind <- c(1, 2) Vminus(X, mon_ind)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.