Displaying 2 results from an estimated 2 matches for "germeyr".
Did you mean:
gerber
2011 Dec 01
2
How to speed up int2bin conversion?
..., ndigits-q+1] <- (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 Impact Research
Research Domain II
[[alternative HTML version deleted]]
2010 Feb 01
1
Number with fixed digit length - zero fill-up
...rst digit which is zero disappears.
So how can I set any number (e.g. x = 10110) to a 8-digit zero fill-up (x
= 00010110) in order to address digit indices?
Or other way round, how can I make the 'substr' function to count from the
right hand side?
Thank you.
With kind regards,
Jonas J?germeyr
Department of Geography
Humboldt-University of Berlin
jonas.jaegermeyr at geo.hu-berlin.de