降价和编织的新手,所以...
在RStudio中,此降价代码效果很好
## 'r': razão entre opções
```{r}
round(apply(rst0[,c('rstQ','rstV','rstMkt','rstMkt2','rstAntiMkt')],2,mean),3)
```
rstQ rstV rstMkt rstMkt2 rstAntiMkt
81.408 111.098 0.012 0.007 0.005
但是当我单击编织按钮时,出现错误:
Line 20 Error in apply(rst0[,c('rstQ','rstV','rstMkt','rstMkt2','rstAntiMkt')], : object 'rst0' not found Calls: <Anonimous> ... withCallingHandlers -> withVisible -> eval -> eval -> apply
但是knit('../gap.Rmd')
成功生成了gap.md
文件。