| mypublish_matlist2wordtable | R Documentation |
Print a list of matrices to a single word file with a table of these matrices
mypublish_matlist2wordtable(x, path, digits = 2)
x |
list of matrices |
path |
filename without ending |
digits |
digits for rounding |
## 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) %>%
xtable(align = rep("",4)) %>%
print(tabular.environment="pmatrix",
include.colnames = F,
include.rownames = F,
floating = F,
hline.after = NULL)) %>%
mypublish_mat("matrices")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.