powered by
buffer(x, length.out = len(x), fill = NULL, preserveClass = TRUE)
cbind
buffer(c(1,2,3),20) buffer(matrix(c(1,2,3,4),nrow=2),20) buffer(list(1,2,3),20) df<-data.frame(as.factor(c('Hello','Goodbye')),c(1,2)) buffer(df,5) buffer((factor(x=c('Hello'))),5)
Run the code above in your browser using DataLab