upstream_vars: Utility function to find upstream variables

View source: R/votepath.r

upstream_varsR Documentation

Utility function to find upstream variables

Description

Finds variables in prior blocks.

Usage

upstream_vars(blocks, varname, ...)

Arguments

blocks

A list where each element identifies a block in the funnel of causality.

varname

The name of the focal variable.

...

Other arguments to be passed down; currently not implemented.


davidaarmstrong/votepath documentation built on May 2, 2024, 4:13 a.m.