xy_pos | R Documentation |
locate_ndl_in_hay()
.Get xy position of a value in a matrix
Helper function for locate_ndl_in_hay()
.
xy_pos(mt, val)
mt |
A matrix |
val |
A matrix |
A numeric pairs of xy location.
nrow <- 4
mt <- matrix(1:12, nrow = nrow)
xy_pos(mt, 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.