replace all previous functions with fatdiag
add fatdig <- function
add support for replacement other than 0 (zero)
break out rectangles to separate functions: rectangle_matrix() and minus_rectangle_matrix()
block_matrix(): for extracting block diagonals
minus_block_matrix(): for dropping block diagonals
add support for non-square matrices
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.