[R] Help with a problem

Letticia Ramlal lramlal at claflin.edu
Sat Sep 15 18:11:46 CEST 2007


Hello 
I was wonderinf if anyone can help me with this problem, it seems trivial but for some reason I can not figure it out.
 
With a single R command complete the following:
create a vector calles seqvec that repeats the sequence 1, 3,6, 10,15,21.( I was trying to use c() but this does not work) 
create a 5-row, 6-column matirx from seqvec wuth each row containg the sequence from before 
and complete the two task above in a single step.
 
LTR



More information about the R-help mailing list