我正在尝试在R.中读取此csv文件 . (scores.csv)
ALVO,P,Prediction,fold
1,0.9079557994069131,"1",0
1,0.4323657303144317,"0",0
1,0.9944246408740756,"1",0
1,0.8025072441292207,"1",0
1,0.8687043760021418,"1",0
1,0.8728815023271057,"1",0
1,0.9998157504312343,"1",0
1,0.6610699528239422,"1",0
1,0.9994385364719802,"1",0
我试过这个:
result < - read.csv(“C:/scores.csv”,header = TRUE,sep =“,”,quote =“\”“)
AND 这个:
result < - read.csv(“C:/scores.csv”)
它不起作用,我得到P,预测,折叠NA值
头(结果)
but I got this:
ALVO P Prediction fold
1 1,0.9079557994069131,"1",0 NA NA NA
2 1,0.4323657303144317,"0",0 NA NA NA
3 1,0.9944246408740756,"1",0 NA NA NA
4 1,0.8025072441292207,"1",0 NA NA NA
5 1,0.8687043760021418,"1",0 NA NA NA
6 1,0.8728815023271057,"1",0 NA NA NA
有人已经这样做了吗?
请帮忙!