This function strips the root (just the first element) from a code path, using the codeTreeMarker stored in the opts object as marker.

stripCodePathRoot(x)

Arguments

x

A vector of code paths.

Value

The modified vector of code paths.

Examples

stripCodePathRoot("codes>reason>parent_feels");
#> [1] "reason>parent_feels"