Structure learning in decomposable graphical models on several components
fit_components(
df,
comp,
type = "fwd",
q = 0.5,
trace = FALSE,
thres = 5,
wrap = TRUE
)Character data.frame
A list with character vectors. Each element in the list is a component in the graph (using expert knowledge)
Character ("fwd", "bwd", "tree" or "tfwd")
Penalty term in the stopping criterion
where 0 = AIC and 1 = BIC. Anything in between is
referred to as qic
Logical indicating whether or not to trace the procedure
A threshold mechanism for choosing between two different ways of calculating the entropy.
logical specifying if the result of a run with type = "tree" should be converted to a "fwd" object
An adjacency list object
fit_graph, adj_lst.gengraph,
adj_mat.gengraph, walk.fwd,
walk.bwd, gengraph