btm_var {causaloptim} | R Documentation |
Recursive function to get the last name in a list
Description
Recursive function to get the last name in a list
Usage
btm_var(x, name = NULL)
Arguments
x |
a list |
name |
name of the top element of the list |
Value
The name of the deepest nested list element
Examples
btm_var(list(X = list(Y = list(K = 1))))
[Package causaloptim version 1.0.0 Index]