Description Usage Examples
Drop-in replacement for standard assignment to parse input
1
(x) <- value
1 2 3 4 5 6 7
`at<-` <- function(a, b, c){ a[b[[1]], b[[2]]] <- c a } mat <- matrix(0, 3, 3) mat[2, 2] <- 7 at(mat, c(1,2)) <- 5
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.