powered by
extendLength(x, addLength = NULL, method = c("reflection", "open", "circular"), direction = c("right", "left", "both"))
extendNBase
# a = matrix(rnorm(9), 3) # extendLength(a, 3, direction='right') ## not exposed function
Run the code above in your browser using DataLab