remove_arcs | R Documentation |
This function removes arcs from a Gaussian mixture graphical model.
remove_arcs(gmgm, arcs)
gmgm |
An object of class |
arcs |
A data frame containing the removed arcs. The column |
The gmbn
or gmdbn
object after removing the arcs.
add_arcs
, add_nodes
,
relevant
, remove_nodes
,
rename_nodes
data(gmbn_body) gmbn_1 <- remove_arcs(gmbn_body, data.frame(from = c("HEIGHT", "AGE"), to = c("FAT", "WAIST"))) data(gmdbn_air) gmdbn_1 <- remove_arcs(gmdbn_air, list(b_2 = data.frame(from = c("NO2", "TEMP"), to = c("O3", "O3"), lag = c(1, 1)), b_13 = data.frame(from = "TEMP", to = "O3", lag = 1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.