R: Bayesian Networks

# Bayesian Networks

## Documentation for package ‘gRain’ version 1.4.6

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Code demos. Use demo() to run them.
- Package NEWS
- Package README

## Help Pages

absorbEvidence | Set, update and remove evidence.
andtab | Conditional probability tables based on logical dependencies
andtable | Conditional probability tables based on logical dependencies
ask | Query a Bayesian network
ask.grain | Query a Bayesian network
booltab | Conditional probability tables based on logical dependencies
compile.cpt_grain | Compile Bayesian network.
compile.grain | Compile Bayesian network.
compile.pot_grain | Compile Bayesian network.
compileCPT | Compile conditional probability tables / cliques potentials.
compilePOT | Compile conditional probability tables / cliques potentials.
compile_cpt | Compile conditional probability tables / cliques potentials.
compile_pot | Compile conditional probability tables / cliques potentials.
components_extract | Extract conditional probabilities and clique potentials from data.
components_gather | Compile conditional probability tables / cliques potentials.
cpt | Create conditional probability tables (CPTs)
cptable | Create conditional probability tables (CPTs)
evidence_add | Set, update and remove evidence.
evidence_drop | Set, update and remove evidence.
evidence_get | Set, update and remove evidence.
evidence_prob | Set, update and remove evidence.
example_chest | Chest clinic example
example_chest_cpt | Chest clinic example
example_grass | Wet grass example
example_grass_cpt | Wet grass example
extractCPT | Extract conditional probabilities and clique potentials from data.
extractMARG | Extract conditional probabilities and clique potentials from data.
extractPOT | Extract conditional probabilities and clique potentials from data.
extract_cpt | Extract conditional probabilities and clique potentials from data.
extract_marg | Extract conditional probabilities and clique potentials from data.
extract_pot | Extract conditional probabilities and clique potentials from data.
finding | Set, retrieve, and retract finding in Bayesian network.
generics | gRain generics
getEvidence | Set, update and remove evidence.
getFinding | Set, retrieve, and retract finding in Bayesian network.
grain | Create Bayesian network
grain-main | Create Bayesian network
grain-simulate | Simulate from Bayesian network
grain.CPTspec | Create Bayesian network
grain.cpt_spec | Create Bayesian network
grain.dModel | Create Bayesian network
grain.igraph | Create Bayesian network
grain.pot_spec | Create Bayesian network
grain_compile | Compile Bayesian network.
grain_evidence | Set, update and remove evidence.
grain_predict | Make predictions from Bayesian network
grain_propagate | Propagate in a Bayesian network
isCompiled | gRain generics
isPropagated | gRain generics
load-save-hugin | Load and save Hugin net files
loadHuginNet | Load and save Hugin net files
logical | Conditional probability tables based on logical dependencies
marg2pot | Extract conditional probabilities and clique potentials from data.
mendel | Mendelian segregation
nodeNames | gRain generics
nodeNames.grain | gRain generics
nodeStates | gRain generics
nodeStates.grain | gRain generics
old_components_extract | Extract conditional probabilities and clique potentials from data.
old_grain_evidence | Set, update and remove evidence.
old_replace_cpt | Replace CPTs in Bayesian network
ortab | Conditional probability tables based on logical dependencies
ortable | Conditional probability tables based on logical dependencies
parse_cpt | Compile conditional probability tables / cliques potentials.
parse_cpt, | Compile conditional probability tables / cliques potentials.
parse_cpt.default | Compile conditional probability tables / cliques potentials.
parse_cpt.xtabs, | Compile conditional probability tables / cliques potentials.
pEvidence | Set, update and remove evidence.
pFinding | Set, retrieve, and retract finding in Bayesian network.
pot2marg | Extract conditional probabilities and clique potentials from data.
predict.grain | Make predictions from Bayesian network
propagate.grain | Propagate in a Bayesian network
propagateLS | Propagate in a Bayesian network
propagateLS__ | Propagate in a Bayesian network
qgrain | Query a Bayesian network
querygrain | Query a Bayesian network
querygrain.grain | Query a Bayesian network
repeatPattern | Create repeated patterns in Bayesian networks
repeat_pattern | Create repeated patterns in Bayesian networks
replaceCPT | Replace CPTs in Bayesian network
replace_cpt | Replace CPTs in Bayesian network
replace_cpt.cpt_grain | Replace CPTs in Bayesian network
retractEvidence | Set, update and remove evidence.
retractFinding | Set, retrieve, and retract finding in Bayesian network.
rip.grain | gRain generics
saveHuginNet | Load and save Hugin net files
setEvidence | Set, update and remove evidence.
setFinding | Set, retrieve, and retract finding in Bayesian network.
simplify_query | Simplify output query to a Bayesian network
simulate.grain | Simulate from Bayesian network
universe | gRain generics
universe.grain | gRain generics
vpar.cpt_grain | gRain generics
vpar.cpt_spec | gRain generics