Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • putexcel matrix not found error

    Hi all,

    I am attempting to export into excel after using tabulate using the following code

    putexcel set weights1, replace sheet("weights", replace)
    putexcel A1="DoB1stchild" B1="Freq"
    tab DoByear_first_ch if et29==1, matcell(freq) matrow(names)
    putexcel A2=matrix(names)
    putexcel B2=martrix(freq)

    but I receive an error "matrix not found" after the last command.

    When running "mat list freq" to check if the matrix exists, I am returned a matrix

    Any help you are able to provide is greatly appreciated!


  • #2
    typo in last line, martrix

    Comment


    • #3
      Thank you! My bad ahaha

      Comment

      Working...
      X