Skip to contents

This function recursively count symbols stored in the closed form expression and nested closed form expression.

Value

An integer.

Examples


test <- closed_form(~1+1)
test$..len..()
#> [1] 1