Profile cover photo
Profile photo
Alex Heaton
7 followers
7 followers
About
Posts

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.

Cheers.
Add a comment...
Wait while more posts are being loaded