asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Problem in getting Stata matrix to flexmat | asdocx › Reply To: Problem in getting Stata matrix to flexmat | asdocx
This is documented in the flexmat help file.
help flexmat
Section 9 of the help file reads
9. addparts:
Sub-command addparts with option notes(Table notes text)
adds table notes to the current table. Table notes appear at the bottom of the
table when the table is exported with asdocx. When sub-command addparts is used with option title(Table title text)
, it sets the table
title.
flexmat reset mat A = (1,2,3\ 4,5,6\ 7,8,9) matrix rownames A = myrow1 myrow2 myrow3 mat colnames A = mycol1 mycol2 mycol3 flexmat addmat, matname(A) flexmat addparts, title(My Stata matrix) notes(My notes from flexmat) My Stata matrix 0 |1 2 3 4 ----+------------------------------------------------------------------ 1 | mycol1 mycol2 mycol3 ----+------------------------------------------------------------------- 2 |myrow1 1 2 3 3 |myrow2 4 5 6 4 |myrow3 7 8 9 ------------------------------------------------------------------------ My notes from flexmat