Using bnlearn to check for d-separation/d-connectivity

Hi all,
Attached is my R code to determine d-separation and d-connectivity in R. I have organized it, and explained certain parts in the code. The code is essentially asking if there is d-separation, so the output is either True or False for that.
Since this is all of the code that I have used thus far, I included the code for producing ROC curves, along with showing the AUC and confidence intervals in the plot. Please let me know if you have any questions!
-Albert
Attached is my R code to determine d-separation and d-connectivity in R. I have organized it, and explained certain parts in the code. The code is essentially asking if there is d-separation, so the output is either True or False for that.
Since this is all of the code that I have used thus far, I included the code for producing ROC curves, along with showing the AUC and confidence intervals in the plot. Please let me know if you have any questions!
-Albert