讲数据标准化并设置小数点为3位,但下面这段程序只能标准化数据却不能精确小数点的位数,求大神指导!
options(digits=3)
a.data<-read.table("a.txt")
standard<-scale(a.data,center=T,scale=T)
write.table(standard,file="b.txt",append=FALSE,quote=TRUE,sep=",",eol="\n",na="NA",dec=".",row.names=FALSE,
col.names=FALSE,qmethod=c("escape","double"))


雷达卡




京公网安备 11010802022788号







