find_deps: finds and returns the deps of a formula as a character vector

View source: R/find_deps.r

find_depsR Documentation

finds and returns the deps of a formula as a character vector

Description

Given a formula for 'C' like C <- A+B D <- C+B/2 the function returns 'A' and 'B' but not 'C'

Usage

find_deps(g, formula)

Arguments

g

anything that has names end data as list (env, list, dataset, GrafoDB)

formula

the formula itself

Value

list of names not defined in 'formula' and needed to evaluate it


giupo/GrafoDB documentation built on Oct. 12, 2022, 9:43 a.m.