Learn R Programming

causaloptim (version 1.0.0)

btm_var: 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)

Value

The name of the deepest nested list element

Arguments

x

a list

name

name of the top element of the list

Examples

Run this code
btm_var(list(X = list(Y = list(K = 1))))

Run the code above in your browser using DataLab