getLastElementInPath: Get the last element in a path string

Description Usage Arguments

View source: R/utilities.r

Description

For some reason sometimes data.tree will return an entire path string to a node instead of just the last element we need to rebuild the tree. This helps fix that by taking the last element out of the path and returning it.

Usage

1

Arguments

val

the path to get the last element out of


cwhd/hdm-r documentation built on May 6, 2019, 8 p.m.