[R] How to speed up int2bin conversion?

2011-12-01 Thread Jonas Jägermeyr
] - (x %% 2) x - (x %/% 2) } bin- apply(base,1,paste,collapse=) return(bin) } Since it is still slow, I have to find a way to express this more elegantly. I'd really appreciate any help. Thanking you, with best regards Jonas Jägermeyr Potsdam Institute for Climate

Re: [R] How to speed up int2bin conversion?

2011-12-01 Thread Jonas Jägermeyr
really appreciate any help. Thanking you, with best regards Jonas Jägermeyr Potsdam Institute for Climate Impact Research Research Domain II [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman