with_columns: Adding columns to a table

Description Usage Arguments Examples

Description

This function adds columns to the initialized table.

Usage

1
with_columns(tbl, cols)

Arguments

tbl

the input table

cols

the columns

Examples

1
2
Table() %>% with_columns(list("ColumnA", c(1, 1, 1),
                              "ColumnB", c(2, 2, 2)))

sidneyle/datascienceR documentation built on May 20, 2019, 5:04 p.m.