R语言学习之因子转换成数值

1.因子转换成数值变量 d<-as.numeric(as.character(d)) #通常先转换成字符,再转换成数值字符 2.as.numeric()  #转换成数值 as.character()#转换成字符变量
相关文章
相关标签/搜索