特牛网址导航

机器学习案例解析第一章笔记(ggplot,ggsave,merge,gsub,as.Date,read.*)_gsub("^ ","",split.location)-CSDN博客

网友收藏
文章浏览阅读4.2k次。read.*read.*默认会把字符串转换成factor类型. 我们需要使用stringAsFactors=FALSE 来防止转换. ex:ufo <- read.delim(file.path("./ufo_awesome.tsv"), sep = "\t", stringsAsFactors = FALSE,_gsub("^ ","",split.location)