delta | R Documentation |
This function creates the difference operator matrix delta
for
subtracting a matrix row from the other matrix rows.
delta(J, i)
J |
The number of matrix rows. |
i |
The row number to which respect differences are computed. |
Given a matrix x
with J
rows, then delta(i,J) %*% x
computes differences with respect to row i
.
A matrix with J-1
rows.
J <- 2 x <- matrix(1, nrow = J, ncol = 2) RprobitB:::delta(J, 1) %*% x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.