Skip to content

Instantly share code, notes, and snippets.

@Ram-N
Created May 30, 2018
Embed
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