View source: R/set_restrictions.R
restrict_by_query | R Documentation |
Reduce nodal types using statement
restrict_by_query(model, statement, join_by = "|", given = NULL, keep = FALSE)
model |
a model created by make_model() |
statement |
a list of character vectors specifying nodal types to be
removed from the model. Use |
join_by |
A string or a list of strings. The logical operator joining
expanded types when |
given |
A character vector or list of character vectors specifying
nodes on which the parameter set to be restricted depends. |
keep |
Logical. If 'FALSE', removes and if 'TRUE' keeps only
causal types specified by |
A list with two components: 1. a vector with parameters names of parameters implicated by the restrictions, 2. a vector of subsetting instructions used to identify implicated causal types
Other restrictions:
restrict_by_labels()
,
set_restrictions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.