Strip a dataframe containing a step into separate columns
strip_path(data, path_col = "path", count_col = "count",
value_cols = NULL, sep = "->")
A dataframe containing the path.
Name of the column containing the path. The path should be a string of the format "step 1 -> step 2 -> step 3" .Default: "path"
Name of the column containing the number of occurences of the path. Default: "count"
Names of the other columns to keep. Default: NULL
String used to separate the different steps. Default: "->"
A data.table with the columns specified in count_col, value_cols and one column per step in the path