explode: Explode a data.frame if there are split charter in one column

View source: R/statistics.R

explodeR Documentation

Explode a data.frame if there are split charter in one column

Description

Explode a data.frame if there are split charter in one column

Usage

explode(df, column, split = ",")

Arguments

df

data.frame

column

column

split

split string

Value

data.frame

Examples


df <- data.frame(a = 1:2, b = c("a,b", "c"), c = 3:4)
explode(df, "b", ",")


pcutils documentation built on June 26, 2024, 1:06 a.m.