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

as.data.frame(lapply(data,as.numeric))

 

posted on 2018-03-02 21:15  小明在线  阅读(8014)  评论(0编辑  收藏  举报

导航