R中的统计模拟
2019-08-06
前言
关于R的基础语法,可以在网上或者书籍中学习.
这里只是总结一些统计模拟中遇到的问题,以及实用的技巧.
致谢
这个页面的建立基于 knitr (Xie 2015)和 bookdown (Xie 2019)。以下是我的 R 进程信息:
sessionInfo()
## R version 3.6.0 (2019-04-26)
## Platform: x86_64-apple-darwin15.6.0 (64-bit)
## Running under: macOS Mojave 10.14.6
##
## Matrix products: default
## BLAS: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib
##
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
##
## attached base packages:
## [1] stats graphics grDevices utils datasets
## [6] methods base
##
## loaded via a namespace (and not attached):
## [1] compiler_3.6.0 magrittr_1.5 bookdown_0.11
## [4] tools_3.6.0 htmltools_0.3.6 rstudioapi_0.10
## [7] yaml_2.2.0 Rcpp_1.0.1 stringi_1.4.3
## [10] rmarkdown_1.13 knitr_1.23 stringr_1.4.0
## [13] xfun_0.7 digest_0.6.19 evaluate_0.14
参考文献
Xie, Yihui. 2015. Dynamic Documents with R and Knitr. 2nd ed. Boca Raton, Florida: Chapman; Hall/CRC. http://yihui.name/knitr/.
Xie, Yihui. 2019. Bookdown: Authoring Books and Technical Documents with R Markdown. https://CRAN.R-project.org/package=bookdown.