Splits filenames column to create new columns.
util_fn2columns(df, fn = "fn", split = "_|\\.", colnames = NULL)
df | R object. Data frame. |
---|---|
fn | Character string.
Column name of filenames.
Defaults to |
split | Character string.
Regular expression used to split |
colnames | Character vector. Column names to use to name the new columns produced. This should have the same length as the columns produced. |
Ivan Jacob Agaloos Pesigan