get_derivation {dosearch} | R Documentation |
Returns the derivation of causal query of an object of class "dosearch".
get_derivation(x, run_again = FALSE, draw_all = FALSE)
x |
an object of class "dosearch". |
run_again |
a logical value. If |
draw_all |
a logical value. If |
Santtu Tikka
data <- "P(x,y,z)"
query <- "P(y|do(x))"
graph <- "
x -> y
z -> x
z -> y
"
x <- dosearch(data, query, graph, control = list(draw_derivation = FALSE))
get_derivation(x, run_again = TRUE)