New to R so not really sure what I'm looking, but I guess purrr could do this for me.
How could I create this vector:
c <- c("cookie", "cookie", "cookie", "cookie", "dog", "dog", "dog")
from this:
a <- 4
b <- 3
New to R so not really sure what I'm looking, but I guess purrr could do this for me.
How could I create this vector:
c <- c("cookie", "cookie", "cookie", "cookie", "dog", "dog", "dog")
from this:
a <- 4
b <- 3