asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Building table row by row not working in asdocx › Reply To: Building table row by row not working in asdocx
The same goes for accum: none of the examples work, e.g.,
webuse grunfeld, clear
asdocx, row( \i, \i, invest, \i, \i, kstock,\i) replace
asdocx, row( Periods, N, Mean, SD, N, Mean, SD)
sum invest if inrange(year , 1935, 1945)
asdocx, accum(r(N)',
r(mean)’, `r(sd)’)
sum kstock if inrange(year , 1935, 1945)
asdocx, accum(r(N)',
r(mean)’, `r(sd)’)
asdocx, row( 1935-1945, $accum)
or
sum invest if inrange(year , 1946, 1954)
asdocx, accum(r(N)',
r(mean)’, `r(sd)’)
sum kstock if inrange(year , 1946, 1954)
asdocx, accum(r(N)',
r(mean)’, `r(sd)’)
asdocx, row( 1946-1954, $accum)
All yields same error: varlist not allowed.