bnrepository: Download from Bayesian network repository

View source: R/utils.R

bnrepositoryR Documentation

Download from Bayesian network repository

Description

Read bn.fit objects from the bnlearn Bayesian network repository directly from www.bnlearn.com using the RDS links.

Usage

bnrepository(x)

Arguments

x

character value indicating desired Bayesian network.

Value

A Bayesian network as an object of class bn.fit.

Author(s)

Jireh Huang (jirehhuang@ucla.edu)

Examples

## Read Bayesian network object 
true_bn <- bnrepository("child")

jirehhuang/phsl documentation built on May 23, 2022, 4:19 a.m.