check.algorithms {bnpa} | R Documentation |
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. |
Author(s)
Elias Carvalho
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
# 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)
[Package bnpa version 0.3.0 Index]