Re: [R] vector of zeros and ones

2008-11-19 Thread Erik Iverson
a <- rep(1, 1) , see ?rep [EMAIL PROTECTED] wrote: Dear Rolf, thank you for reply, I am interested with non random numbers. To be more precise, I would like to obtain two vectors a and b with a=(1,1,1,..,1,1) and b=(0,0,,0,0). The length of a and b is 1. Thank you

[R] vector of zeros and ones

2008-11-19 Thread hassen62
Dear Rolf, thank you for reply, I am interested with non random numbers. To be more precise, I would like to obtain two vectors a and b with a=(1,1,1,..,1,1) and b=(0,0,,0,0). The length of a and b is 1. Thank you Écoutez gra