# NOT RUN {
# }
# NOT RUN {
# Load the libraries
library(MRPC) # MRPC
library(pcalg) # pc
library(bnlearn) # pc.stable, mmpc, mmhc, and hc
# For demonstration purposes, only 10 data sets
# are simulated from truth1 (V1-->T1-->T2-->T3)
# with sample size N = 100, signal = 1.0,
# and 6 different T nodes orderings
Output <- CompareMethodsNodeOrdering(N = 100,
signal = 1.0,
model = 'truth1',
n_data = 10,
n_nodeordering = 6)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab