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

as.data.frame(lapply(data,as.numeric))
原文地址:https://www.cnblogs.com/nkwy2012/p/8515611.html