[R] write.matrix.csr data conversion

Sam Steingold sds at gnu.org
Mon Aug 27 20:47:18 CEST 2012


> write.matrix.csr(mx, y = y, file = file)
> table(y)
      0       1 
5194394   23487
$ cut -d' ' -f1 f | sort | uniq -c
  23487 2
5194394 1

i.e., 0 is written as 1 and 1 is written as 2.
why?
is there a way to disable this?

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://palestinefacts.org http://mideasttruth.com
http://pmw.org.il http://ffii.org http://www.memritv.org http://dhimmi.com
Experience always comes right after it would have been useful.



More information about the R-help mailing list