R语言中将数据框(data.frame)中字符型数据转化为数值型

as.data.frame(lapply(data,as.numeric))
posted @ 2018-03-06 17:29  nkwy2012  阅读(18960)  评论(0编辑  收藏  举报