R:read.csv添加子脚本“X”在标题中 [英] R: read.csv adding sub-script "X" in header
本文介绍了R:read.csv添加子脚本“X”在标题中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
名称0x1 1x2
read.csv将标题更改为
名称X0x1 X1x2
有没有办法避免这种情况?
谢谢。
解决方案
依据@Joshua
read.csv(filename.csv,check.names = FALSE)
I have a data frame that has headers as this
Name 0x1 1x2
read.csv changes the header to be
Name X0x1 X1x2
Is there a way, where this can be avoided?
Thanks.
解决方案
according to @Joshua
read.csv("filename.csv",check.names=FALSE)
这篇关于R:read.csv添加子脚本“X”在标题中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文