Post has attachment
Thank you for this post. I think there is a small typo in the first code block. It says "v2<-rep(1:5,2) # use function replicate to repeat the sequence 1 to 5 three times" but this code will repeat the sequence 2 times, not 3 times.
A Tutorial on Data Structures in R
Add a comment...
no plus ones
Wait while more posts are being loaded