Learn R Programming

Package PCBN

How to install

The release version on CRAN:

install.packages("PCBN")

The development version from GitHub:

# install.packages("remotes")
remotes::install_github("AlexisDerumigny/PCBN")

References

Derumigny A., Horsman N., & Kurowicka D. Restrictions of PCBNs for integration-free computations arXiv:2510.03518.

Copy Link

Version

Install

install.packages('PCBN')

Monthly Downloads

150

Version

0.1.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Alexis Derumigny

Last Published

November 17th, 2025

Functions in PCBN (0.1.1)

has_interfering_vstrucs

Checks if graph has interfering v-structures
fit_copulas

Fit the copulas of a PCBN given data
find_all_orders

Finds all possible copula assignments given a DAG
find_all_orders_v

Finds all possible orders of node v given previous copula assignments
is_order_abiding_Bsets

Check whether a certain order abides by the B-sets
is_cond_copula_specified

Checks if a given (conditional) copula has already been specified
find_B_sets

Find all the B-sets of a given DAG
extend_orders

Fills in all possible orders for the next node for each possible order
plot.PCBN

Print and plot PCBN objects
possible_candidates

Possible candidates to be added to a partial order
dsep_set

D-separation of two nodes given a set in a DAG
is_restrictedDAG

Does a DAG satisfy the restrictions of no active cycle and no interfering v-structures
logLik.PCBN

Log-likelihood of a PCBN object
create_empty_DAG

Create empty DAG
remove_CondInd

Remove elements from a conditioning set by using conditional independence
path_hasConvergingConnections

Checks a path for converging connections and chords.
new_PCBN

Initializes PCBN class
DAG_to_restrictedDAG

Turns a general graph into a restricted graph.
PCBN_sim

Simulate data from a specified PCBN
PCBN_PDF

PDF of a PCBN model
B_sets_are_increasing

Checks if the B-sets for a particular node form an increasing sequence.
B_sets_make_unique

Compress a given collection of B-sets
default_envir

Fits the copula joining w and v given cond_set abiding by the conditional independencies of the graph
compute_sample_margin

Computes a conditional margin during sampling
complete_and_check_orders

Complete an order and check whether these are valid orders on parents sets
active_cycles

Checks if a graph contains active cycles
B_sets_cut_increments

Find the decomposition of B-sets
find_interfering_v_from_B_sets

Find all interfering v-structures for a given collection of B-sets
find_cond_copula_specified

Find among parents of a node, the one that has a conditional copula specified