> * jim holtman <wubyg...@tznvy.pbz> [2012-08-27 14:55:08 -0400]:
>
> Most likely when 'y' is converted to a dataframe (not sure what the
> function 'write.matrix.csr' does since you did not say where you got
> it),

sorry,
library(e1071)

> '0' and '1' are converted to factors which probably show up as 1
> and 2 in the file.

sounds reasonable, thanks.

David, could you please add an option `fac' to `write.matrix.csr',
similar to `read.matrix.csr' which already accepts `fac'?

thanks!

-- 
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://ffii.org http://honestreporting.com
http://thereligionofpeace.com http://memri.org http://pmw.org.il
I'd give my right arm to be ambidextrous.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to