This functions allows to set multiple elements of a matrix instead of using annoying step-by-step assignment by mat[1,2] <- 2 mat[2,3] <- 0.5 etc.
1 2 3
a matrix object
formulae; left hand values should be two-element interger vectors and right-hand: a single-value numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.