rep(0, 20) would do that.
~Meryl
On Feb 28, 2010, at 7:07 PM, Viral Gandhi wrote:
Hi all,
How do we get R to write out the same number many times in a row?
c(0:20) would give me 1,2,3,4,5.....,19,20
How do I get 0,0,0,0,0.. up to 20 zeros?
thanks,
Viral
_______________________________________________
gov2001-l mailing list
gov2001-l at
lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l