Can you get Stata output directly inline using the Markdoc .ado?
For example, in R Markdown, you'd write something like
"the mean frequency is `r mean(WASHB$treatw, na.rm=TRUE)`."
and then in the output you wouldn't be able to tell where the paper ended and the output began.
"I think the mean frequency is 47. Then directly on to the next line in the paper."
The closest thing I know of is you can use the txt ado, as follows:
txt "mean of Price variable is " %9.2f r(mean) " and SD is " %9.2f r(sd)
But then the output(both the text and the numbers) appears offset, and doesn't read nicely.
Thanks,
Garret
For example, in R Markdown, you'd write something like
"the mean frequency is `r mean(WASHB$treatw, na.rm=TRUE)`."
and then in the output you wouldn't be able to tell where the paper ended and the output began.
"I think the mean frequency is 47. Then directly on to the next line in the paper."
The closest thing I know of is you can use the txt ado, as follows:
txt "mean of Price variable is " %9.2f r(mean) " and SD is " %9.2f r(sd)
But then the output(both the text and the numbers) appears offset, and doesn't read nicely.
Thanks,
Garret
Comment