relevant(target, context, data, test, alpha, B, debug = FALSE)
0.05
.test
argument is not a permutation test.TRUE
a lot of debugging output
is printed; otherwise the function is completely silent.relevant
returns a vector of character strings, the labels of the
relevant nodes.data(learning.test)
X = as.factor(sample(c("x1", "x2"), nrow(learning.test), replace = TRUE))
relevant("A", data = cbind(learning.test, X))
relevant("A", context = "B", data = learning.test,)
Run the code above in your browser using DataLab