I am using the actual version of Stata and want to present my results with tables in a latex document. I am using the command frmttable, where a table should be created out of results stored in a matrix. My code looks as followed and I just constructed a simple matrix (1x2) for illustrations' reason. I want to include the command "fragment" to extracted the latex code for my document but I get the following error message:
Code:
. frmttable using auto.tex, statmat(A) ctitle("","Country ID","Weights") sdec(3) fr replace
option fragment not allowed without tex option
r(198);Code:
matrix A=(22,23)
frmttable using auto.tex, statmat(A) ctitle("","Country ID","Weights") sdec(3) fragment replace
Best regards

0 Response to Creating Latex Table with frmttable
Post a Comment