View source: R/set_restrictions.R
restrict_by_labels | R Documentation |
Reduce nodal types using labels
restrict_by_labels( model, labels, given = NULL, keep = FALSE, update_types = TRUE, wildcard = FALSE )
model |
A |
labels |
A list of character vectors specifying nodal types to be kept or removed from the model. |
given |
A character vector or list of character vectors specifying nodes on which the parameter set to be restricted depends. When mixing labels that are further restricted by |
keep |
Logical. If 'FALSE', removes and if 'TRUE' keeps only causal types specified by |
An object of class causal_model
. The causal types and nodal types in the model are reduced according to the stated restriction.
Other restrictions:
restrict_by_query()
,
set_restrictions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.