fit_components: Fit a decomposable graphical model on each component

Description Usage Arguments Value See Also

View source: R/api_fit_graph.R

Description

Structure learning in decomposable graphical models on several components

Usage

1
2
3
4
5
6
7
8
9
fit_components(
  df,
  comp,
  type = "fwd",
  q = 0.5,
  trace = FALSE,
  thres = 5,
  wrap = TRUE
)

Arguments

df

Character data.frame

comp

A list with character vectors. Each element in the list is a component in the graph (using expert knowledge)

type

Character ("fwd", "bwd", "tree" or "tfwd")

q

Penalty term in the stopping criterion where 0 = AIC and 1 = BIC. Anything in between is referred to as qic

trace

Logical indicating whether or not to trace the procedure

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

Value

An adjacency list object

See Also

fit_graph, adj_lst.gengraph, adj_mat.gengraph, walk.fwd, walk.bwd, gengraph


mlindsk/ess documentation built on Oct. 15, 2021, 9:12 a.m.