powered by
creates a new column.
new_col(data, name = "new_", values = NA)
the data.frame to join with the new column.
the name of the new column.
the values of the new column.
# NOT RUN { new_col(iris) new_col(iris, "var1", c(1,2,3)) # }
Run the code above in your browser using DataLab