Learn R Programming

CausalQueries (version 1.1.0)

nodes_in_statement: Identify nodes in a statement

Description

Identify nodes in a statement

Usage

nodes_in_statement(nodes, statement)

Value

Returns name of nodes present in a statement

Arguments

nodes

A vector of characters. It should contain quoted names of the nodes in model

statement

A character. A quoted causal statement.