Learn R Programming

⚠️There's a newer version (1.4.5) of this package.Take me there.

gRain

Copy Link

Version

Install

install.packages('gRain')

Monthly Downloads

1,728

Version

1.4.1

License

GPL (>= 2)

Maintainer

Søren Højsgaard

Last Published

November 21st, 2023

Functions in gRain (1.4.1)

grain_compile

Compile a graphical independence network (a Bayesian network)
replace-cpt

Replace CPTs in Bayesian network
grain_predict

Make predictions from a probabilistic network
simplify_query

Simplify output query to a Bayesian network
querygrain

Query a network
repeat_pattern

Create repeated patterns in Bayesian networks
components_gather

Compile conditional probability tables / cliques potentials.
evidence_object

Evidence objects
generics

gRain generics
get_superset_list

Get superset for each element in a list
components_extract

Extract conditional probabilities and clique potentials from data.
chest

Chest clinic example
cpt

Create conditional probability tables (CPTs)
grain_propagate

Propagate a graphical independence network (a Bayesian network)
grass

Wet grass example
grain-main

Graphical Independence Network
grain-simulate

Simulate from an independence network
finding

Set, retrieve, and retract finding in Bayesian network.
mendel

Mendelian segregation
internal-grain

Internal functions for the gRain package
logical

Conditional probability tables based on logical dependencies
grain_evidence

Set, update and remove evidence.
grain_joint_evidence

Set joint evidence in grain objects
load-save-hugin

Load and save Hugin net files