parse_constraints {causaloptim}R Documentation

Parse text that defines a the constraints

Description

Parse text that defines a the constraints

Usage

parse_constraints(constraints, obsnames)

Arguments

constraints

A list of character strings

obsnames

Vector of names of the observed variables in the graph

Value

A data frame with columns indicating the variables being constrained, what the values of their parents are for the constraints, and the operator defining the constraint (equality or inequalities).


[Package causaloptim version 0.8.2 Index]