Description Usage Arguments Value Examples
Extract portions of a path.
1 | extract_path(x, n = 1, fun = head, inds = NULL)
|
x |
A vector of path(s). |
n |
Corresponds to n in |
fun |
Either the |
inds |
An index of elements of the path to use (for when you don't want to include beginning or end of the path). |
Returns a partial path(s).
1 2 3 4 5 6 7 8 9 10 | extract_path(x)
extract_path(x, 2)
extract_path(x, -2)
extract_path(x, fun=tail)
extract_path(x, 2, fun=tail)
extract_path(x, inds=2:3)
x <- c(
"C:/Users/trinker/Desktop/commencement_project",
"C:\\Users\\trinker\\Desktop\\commencement_project"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.