done, thanks for the suggestion.
David
On 2012-08-27 21:15, Sam Steingold wrote:
* 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!
--
Priv.-Doz. Dr. David Meyer
Department of Information Systems and Operations
WU
Wirtschaftsuniversität Wien
Vienna University of Economics and Business
Augasse 2-6, 1090 Vienna, Austria
Tel: +43-1-313-36-4393
Fax: +43-1-313-36-90-4393
HP: http://ec.wu.ac.at/~meyer
______________________________________________
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.