Hi,
I need to merge the following two tables into a single LaTeX-formatted table.
*** First
collect clear
collect table priority1 priority2, statistic(proportion, across(priority2)) nformat(%6.3f) nototal
collect style cell border_block, border(right, pattern(nil))
collect style cell border_block, border( top, pattern(double))
*** Second
collect table , nformat(%6.3f) statistic(mean `vars') statistic(mean `vars') statistic(median `vars') statistic(sd `vars') statistic(min `vars') statistic(max `vars') append
collect layout (result) (var)
collect label list result
collect style header var, level(hide)
collect export "tab.tex", append tableonly
Thanks!
I need to merge the following two tables into a single LaTeX-formatted table.
*** First
collect clear
collect table priority1 priority2, statistic(proportion, across(priority2)) nformat(%6.3f) nototal
collect style cell border_block, border(right, pattern(nil))
collect style cell border_block, border( top, pattern(double))
*** Second
collect table , nformat(%6.3f) statistic(mean `vars') statistic(mean `vars') statistic(median `vars') statistic(sd `vars') statistic(min `vars') statistic(max `vars') append
collect layout (result) (var)
collect label list result
collect style header var, level(hide)
collect export "tab.tex", append tableonly
Thanks!