slice_col_old: Slice a dataframe column by a separator

View source: R/slice_col.R

slice_col_oldR Documentation

Slice a dataframe column by a separator

Description

this function used to slice a column with a separator

Usage

slice_col_old(
  data,
  column,
  sep,
  return_names = NULL,
  trans = NULL,
  fill = NULL,
  replace = FALSE
)

Arguments

data

specify a dataframe object

column

specify the column to be be sliced in quotation marks ""

sep

specify a separator to slice the column text with (",",";","-",..)

return_names

TRUE/FALSE whether to print the unique column names or not

trans

TRUE/FALSE whether to return values or trans form it into 1.

fill

specify a value to fill the results NA with

replace

whether to replace or not

Author(s)

Ibrahim H. Elkhidir


IbrahimHE/wrangler documentation built on March 27, 2022, 4:23 p.m.