knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(SmdAid)
stata_pre<<-"out_panel_combo_v1"

```{stata, collectcode=TRUE, echo=FALSE,results="hide"} global outposix "out_panel_combo_v1" adopath + "D:\Activity\elderman\utils" set linesize 255

```{stata,collectcode=T}
sysuse auto

```{stata, outposix=linkto("html","### 表格"),collectcode=TRUE, echo=TRUE, cleanlog=FALSE}

eststo clear eststo: regress price foreign eststo: regress price i.foreign genfilename "$outposix",post(.html) pre("report/") autoinc esttab using "`r(fn)'", label nowrap mtitle title("分年") nonumbers unstack noline html

```



airbone4/SmdAid documentation built on June 3, 2021, 6:54 a.m.