Created
July 1, 2018 18:36
-
-
Save ashlynnpai/749bd7ace4c496da3df7f06c24eb0575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a vector with multiple repeated elements | |
# v is "a" "a" "a" "a" "a" "b" "b" "b" | |
v<-c(rep('a', each=10), rep('b', each=3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment