Hello!
I'm using a loop to output graphs and save them directly to Word. Is there a possibility to insert a different label before each graph?
foreach var in vbk betr_insg betr_baywiss tandem betr_par betrauf_uni betrauf_haw koopaus ///
{
tab `var' hochschulart, colum
graph bar (percent)`var', over(hochschulart) blabel(total, format(%12.2fc ))
graph export Hochschulart`var'.png, replace
putdocx paragraph, halign(center)
putdocx image Hochschulart`var'.png
}
Thx !!!
I am a real beginner and am not allowed to share the dataset and don't know how to use a fake dataset ...
Sorry for that.
Related Posts with putdocx + loop --> label?
Panel Data Regression on Gravity ModelHi everyone, I am doing an gravity model analysis on panel data of 10 countries for 30 years. This …
Problem with "asdoc" and the order of the categoriesHi, I have a problem with asdoc, I hope you can guide me. The correct tab (with sum) is as follows: …
IR and PR (Prevalence ratio) same for Modified Poisson Regression with Robust Error VarianceHello glm y i.x1 i.x2 i.x3 i., link(log) family(poisson) eform Using the above command, I have fo…
Generating dummy variable based on lagged quartile dataHi everyone, I am trying to generate a dummy variable that is conditional on whether the variable o…
Linear regression with year as predictor variableHi all, I am new to Stata and a somewhat of statistics novice. I am working on a project where I am…
Subscribe to:
Post Comments (Atom)
0 Response to putdocx + loop --> label?
Post a Comment