Hello everyone,
I've just come across tab2xl and have been trying to include it in a loop to get a two-way tab for my variables as follows:
foreach var of global catmyco {
tab2xl `var' totalmyco using test1, row (1) col (1) missing sheet ("testsheet1")
}
However, it's only giving me an excel sheet for the last variable in the global catmyco. The append option is not allowed.
Does anyone know of a way to get everything in a single sheet?
p.s: Tabout works, but it just seems like tab2xl would be an easier option.
foreach var of global catmyco {
tabout `var' totalmyco using bivar.xls, c(freq col) mi append
}
Thank you!
Related Posts with Tab2xl issues
Including prevalence ratio in table after glm using asdocHello, I would like to export prevalence ratios into a word table after a glm poisson model using t…
P-values and CI's for dotplot?Hi you helpful people. I have measured a concentration of a medical drug 1 week after operation in …
Remove observations of a panel data set based on observations of specific yearsHi All, I have a panel data set as below (only an example and may not be balanced). I want to drop …
Plotting trends in relative and absolute inequalities using riigen and marginsHello, In a repeated cross-sectional designed study I would like to calculate the relative and abso…
multiple imputation (-mi-) with the synthetic control method (-synth-)Has anyone combined multiple imputation with the synthetic control method (https://fmwww.bc.edu/repe…
Subscribe to:
Post Comments (Atom)
0 Response to Tab2xl issues
Post a Comment