mypublish_matrix2wordmath | R Documentation |
The align argument of xtable outside of mypublish mat needs to be ncol(mat) \+ 1
mypublish_matrix2wordmath(x, filename)
x |
a single matrix as xtable %>% print(tabluar.environment = "pmatrix) |
filename |
filename without ending |
## Not run: list(r_0 = matrix(1:9, ncol = 3), r_1 = matrix(0,ncol = 3, nrow = 3), r_opt_1 = matrix(2:10, nrow = 3)) %>% imap(~.x %>% round(2) %>% mypublish_mat(.y)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.