asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › “Tab” Conformability Error › Reply To: “Tab” Conformability Error
Hi Dr. Shah — I’ve confirmed that the “no observations” scenario is the issue.
CODE:
. sys use auto
. tab make foreign if make=="Subaru"
| Car origin
Make and model | Foreign | Total
-------------------+-----------+----------
Subaru | 1 | 1
-------------------+-----------+----------
Total | 1 | 1
. tab make foreign if make=="Subaru" & foreign==0
no observations
. asdocx tab make foreign if make=="Subaru" & foreign==0
no observations
asdocx_tab_twovars(): 3200 conformability error
- function returned error
r(3200);
Is this something you’d be able to tweak in the program code to allow for?