Skip to content

Instantly share code, notes, and snippets.

View risshun's full-sized avatar

Ernest Zhang risshun

View GitHub Profile
# 读取
df = read.csv('2014data.csv',stringsAsFactors =FALSE)
df1 = df[4:53]
df2 = df[54:57]
# 整理
library(plyr)
df1_names = names(df1)
names(df1) = paste0('x',1:ncol(df1))