mmul <-
function(A, B){
# multiply square matrix by rectangle with NA's (???)
X = A
Y = B
X[is.na(A)] = Y[is.na(B)] = 0
R = X %*% Y
R[is.na(B)] = NA
R
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.