util.ind2sub | R Documentation |
This function is somewhat the equivalent of the Matlab ind2sub.
t <- ind2sub(j,n), then A[t$r, t$c] == A[l] if dim(A)[1] == n
l |
linear index |
n |
number of rows |
the linear index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.