3 ms·
For emphasis, bind_cols is a dplyr function (meaning it gets the speed boost from using Rcpp, albeit not much difference when adding a few columns), while cbind
by minimaxir 9y ago
For emphasis, bind_cols is a dplyr function (meaning it gets the speed boost from using Rcpp, albeit not much difference when adding a few columns), while cbind is a base function which does not.
dplyr nowadays obsoletes most of the basic building blocks of data frame construction, although they are hidden in the docs.