Skip to content

Instantly share code, notes, and snippets.

Created May 30, 2018
What would you like to do?
Using paste0 with length=option
i <- 1:50
b <- 1:5
ColNames <- paste0("X_", i, "_", rep(b, each=length(i)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment