check.algorithms: Verifies the BN learning algorithms

Description Usage Arguments Author(s) References Examples

View source: R/check.algorithms.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# 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)

bnpa documentation built on Aug. 2, 2019, 1:05 a.m.

Related to check.algorithms in bnpa...