split_col: Split a column into multiple columns.

Description Usage Arguments Value

View source: R/helpers.R

Description

Split a column into multiple columns.

Usage

1
split_col(.data, .col_name, .sep, .new_names_vec)

Arguments

.data

a dataframe

.col_name

a character string representing a column name found in .data.

.sep

a character string used to split the column (.col_name).

.new_names_vec

a character vector of names to name the new split columns.

Value

A data frame.


BWAM/stayCALM documentation built on May 21, 2020, 3:24 p.m.