---
# System prepended metadata

title: R 學習資源

---

###### tags: 'R_lang'

# R 學習資源

[國立中山大學政治學研究所 1091 《資料分析方法入門》](https://psmethods.postach.io/page/ke-cheng-da-gang)


中文處理切換語系到文:

```r=
Sys.setlocale("LC_CTYPE", "Chinese")
```



RMarkdown 輸出 HTML Table 
[Create Awesome HTML Table with knitr::kable and kableExtra](https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html)
```r=
# https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html
library(kableExtra)
summary_table %>%
  kbl() %>%
  kable_styling()
```


