knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
这是一个计算分省综合教育水平的数据集。
计算公式如下, \begin{align} edu = &illiteracy \cdot 0 + primary \cdot 6 + junior \cdot 9 + senior \cdot 12 + profession \cdot 12 + \ & JuniorCollege \cdot 15 + RegularCollege \cdot 16 + graduate \cdot 19 \end{align}
原始数据源自Wind数据库,其中,
数据区间是2005-2018,2015年以前,缺乏中职以上教育的数据,故计算$edu$时,均设为0。
library(MyFun)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.