asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum converting table to matrix after asdocx

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Jose Munoz
    Participant
    Post count: 1

    I was wondering if it is possible to generate a matrix from the asdocx output? for example

    asdocx tabulate diam_catnew `variabletest', ///
    cchi2 cell chi2 column expected lrchi2 row V

    and then store the table as a matrix, so I can then extract specific values from that matrix and construct another matrix from there all automatic.
    thank you in advance for your help.

    Attaullah Shah
    Moderator
    Post count: 76

    Hello Jose
    asdocx creates a string matrix in Mata. That matrix is available for modification and re-export using the flexmat package, that is part of asdocx. See this example

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.