Marion Wenty
2011-Sep-27 08:33 UTC
[R] creating a vector automatically containing numbers 1, 100, 10000, 1000000, ...
hello, i am looking for a way to get a vector containing the numbers: 1,100,10000,1000000,... each element should have two ceros more than the one before it until the number 1e+200 without using a loop. thank you very much in advance for your help! marion [[alternative HTML version deleted]]
Barry Rowlingson
2011-Sep-27 08:50 UTC
[R] creating a vector automatically containing numbers 1, 100, 10000, 1000000, ...
On Tue, Sep 27, 2011 at 9:33 AM, Marion Wenty <marion.wenty at gmail.com> wrote:> hello, > > i am looking for a way to get a vector containing the numbers: > > 1,100,10000,1000000,... > > each element should have two ceros more than the one before it until the > number > > 1e+200 > > without using a loop.10^(seq(0,200,by=2) Barry