defines_mod | R Documentation |
Check if the standard imset for a graph defines the model
defines_mod(
graph,
u,
timeout = 60L,
trace = FALSE,
sparse = FALSE,
rmv_edges = FALSE,
stop_if_fail = TRUE
)
graph |
an ADMG in the form of a |
u |
optionally, an imset to test the constraints from the graph on (otherwise the 'standard' imset is used) |
timeout |
an integer giving the maximum run time for each linear program in seconds |
trace |
logical: should details be given of tests? |
sparse |
logical: use sparse matrix? |
rmv_edges |
logical: only use missing edges in the graph in the constraint matrix? |
stop_if_fail |
logical: should procedure stop if one independence is not represeneted? |
The timeout
argument requires version 5.6.13.4.9000 of lpSolve
to be
installed. If the function returns NA
then no independence was found
to be not in the model but at least one of the linear programs timed out.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.