View source: R/helper_gengraph.R
| walk | R Documentation |
Stepwise model selection in decomposable graphical models
walk(x, df, q, thres)
x |
|
df |
data.frame |
q |
Penalty term in the stopping criterion ( |
thres |
A threshold mechanism for choosing between two different ways of calculating the entropy. Can Speed up the procedure with the "correct" value. |
A fwd (or bwd) object can be created using the gengraph constructor with type = "fwd".
A fwd or bwd object with one additional edge than the input object.
fit_graph, walk.fwd, gengraph
d <- derma[, 10:25]
g <- gengraph(d, type = "fwd")
s <- walk(g, d)
print(s)
plot(s)
adj_lst(s)
adj_mat(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.