# NOT RUN {
# }
# NOT RUN {
<!-- %%DCD Example 1 Run%% -->
# }
# NOT RUN {
DCD_output <- DCD()
# }
# NOT RUN {
<!-- %%DCD Example 2 %% -->
# }
# NOT RUN {
library(igraph)
g_A <- sample_grg(200, 0.15, torus=FALSE, coords = FALSE)
g_B <- permute(g_A,c(sample(20),21:200))
ground_truth <- c(rep(1,20),rep(0,180))
DCD_output2 <- DCD(g_A = g_A, g_B = g_B, method = "Spectral", mink = 7,
ground_truth = ground_truth, plot_flag = 1, color = "red",
iter = 1, cores = 1 )
# }
Run the code above in your browser using DataLab