Description Usage Arguments Author(s) See Also
View source: R/util_fn2columns.R
Splits filenames column to create new columns.
1 | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.