splitCol: splitCol

Description Usage Arguments Examples

View source: R/tools.R

Description

This function splits the given column in the data.frame

Usage

1
splitCol(data, col_name, sep, fixed = FALSE)

Arguments

data

a data frame one of its columns to be split

col_name

the column whose data to be split

sep

regex to split the data.

fixed

regex to split the data.

Examples

1
splitCol(infert, 'education', '-')

etabari/ehsanr documentation built on Aug. 5, 2019, 4:07 p.m.