Learn R Programming

bnpa (version 0.3.0)

check.algorithms: Verifies the BN learning algorithms

Description

This function receives a list of algorithms of bnlearn package and check if it would be used in bnpa package.

Usage

check.algorithms(bn.learn.algorithms)

Arguments

bn.learn.algorithms

is a list of algorithms (present in bnlearn package) to be used in BN structure learning pocess in bnpa.

References

Scutari M (2017). Bayesian Network Constraint-Based Structure Learning Algorithms: Parallel and Optimized Implementations in the bnlearn R Package. Journal of Statistical Software, 77(2), 1-20.

Examples

Run this code
# NOT RUN {
# Clean environment
closeAllConnections()
rm(list=ls())
# Set enviroment
# setwd("~/your working directory")
# Load packages
library(bnpa)
# Set what BN learning algorithms will be used
bn.learn.algorithms <- c("gs", "hc")
# Check these algorithms
check.algorithms(bn.learn.algorithms)
# }

Run the code above in your browser using DataLab