Description Usage Arguments Details Value References See Also Examples
View source: R/api_fit_graph.R
A generic method for structure learning in decomposable graphical models
1 2 3 4 5 6 7 8 9 |
df |
Character data.frame |
type |
Character ("fwd", "bwd", "tree" or "tfwd") |
q |
Penalty term in the stopping criterion
where |
trace |
Logical indicating whether or not to trace the procedure |
sparse_qic |
Logical. If |
thres |
A threshold mechanism for choosing between two different ways of calculating the entropy. |
wrap |
logical specifying if the result of a run with type = "tree" should be converted to a "fwd" object |
The types are
"fwd": forward selection
"bwd": backward selection
"tree": Chow-Liu tree (first order interactions only)
"tfwd": A combination of "tree" and "fwd". This can speed up runtime considerably in high dimensions.
Using adj_lst
on an object returned by fit_graph
gives the
adjacency list corresponding to the graph. Similarly one can use adj_mat
to obtain an adjacency matrix. Applying the rip
function on an
adjacency list returns the cliques and separators of the graph.
A gengraph
object representing a decomposable graph.
https://arxiv.org/abs/1301.2267, doi: 10.1109/ictai.2004.100
adj_lst
, adj_mat
,
as_igraph
, gengraph
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.