with_columns: Adding columns to a table

Description Usage Arguments Examples

View source: R/with_columns.R

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 June 3, 2018, 6:40 p.m.