rebastaba: Handling Bayesian networks

Share:

Creation and manipulation of general Bayesian networks [/bn]. Here "general" means with multivariate nodes and a great variaty of distributions, for continuous, integer or categoric variables. New /bn/ can be generated from existing /bn/. Data sets can be simulated from /bn/. Dags of /bn/ can be graphed... "rbsb" for "ReBaStaBa" which means "R'eseaux Bay'esiens pour la Statistique Bay'esienne", that is "Bayesian Networks for Bayesian Statistics".

Author
Jean-Baptiste Denis <Jean-Baptiste.Denis@jouy.inra.fr>, Marie-Laure Delignette-Muller <ml.delignette@vet-lyon.fr> and Regis Pouillot <rpouillot@yahoo.fr>
Date of publication
None
Maintainer
Jean-Baptiste Denis <Jean-Baptiste.Denis@jouy.inra.fr>
License
GPL (>= 2)
Version
0.3-2

View on R-Forge

Man pages

alk2list
transforms a /alk/ object into a list
alkvar
returns the variable names of an /alk/
and4bn
adds a new node to a bn object
anode4bn
very simplified version of and4bn
bn2alk
gets an alk from a given bn
bn2bn
extracts a bn from a bn (way number 1)
bn2bugs
translates a bn into a bugs model
bn2dn
simulates data from a bn
bn2gn
creates a gn object from a bn object
bn2jagscript
constructs a Jags script from a bn
bn2list
transforms a /bn/ into a list
bn2model
expresses the model formulae
bn2nd
extracts and returns some traits of a node defined into a bn
bn2pam
gets the pam from a /bn/.
bn2pta
computes the probability table associated to a numcat/parcat...
categ3beta
compute a univariate categ distribution
categ3beta2
compute a bivariate categ distribution
categ3betap
compute a p-variable categ distribution
check8alk
checks an /alk/
children8bn
returns the direct children of a bn
code4bn
builds the code for the nk-th node of a /bn/.
complete8alk
completes an alk with respect to a given bn
connect8bgn
determines if a bn/gn is connected
cycle8bgn
detects if a cycle exists in a bn/gn object
df2bn
initializes a bn object from a data frame
dim8nd
computes the dimension of a node
Dirac4bn
introduce a Dirac distribution on one univariate node
dn2bstat
Computes the bivariate statistics for the variables of a /dn/
dn2csv
creates a csv file containing dn@df
dn2score
Computes the individual scores for a /dn/
dn2ustat
Computes the univariate statistics for the variables of a...
draw8Dirichlet
simulates random draws from a Dirichlet
draw8dist
returns the distances for the selection to be operated with...
draw8edcg
simulates random draws for a numcat distribution
draw8empidata
performs an empidata [multivariate] draw or prediction
draw8multinom
simulates random draw from a multinomial
draw8predg
returns the predicted individuals for an empidata node.
draw8predi
returns the predicted individual for an empidata node.
draw8sele
returns the candidate individuals for an empidata node.
easyp2code
transforms an easyp expression into an R/bugs block
easyp2code1
expands an easyp expression
easyp2code2
transforms an easyp expression into an R/bugs block
easyp2dim
returns the dimension of the variable defined in an easyp...
easyp3expanded
returns an expanded easyp from an easyp
easyp3trouve
checks the consistency of the result obtained after easyp3cut...
easyps2dim
returns the dimension of the variable defined with an easyp...
expr3bugs
returns the piece of Bugs code for standard distributions
expr3func
builds generating function from code
form3nd
symbolizes the kind of nodes
gn2bn
creates a bn object from a gn object
grappa4check
checks if the provided bn is Grappa-compatible
help8ltype
provides information about type of links
ind8bgn
returns the nodes between two nodes
isalkrepeatable
indicates if the link is a standard repeatable link
isndmulti
indicates if the node is a standard multidimensional node
list2alk
transforms a consistent list into a new alk
list2bn
transforms a consistent list into a new bn object
list2win
transforms a convenient list into a /win/
mnd4bn
modifies an existing node into a bn object
modify4bn
plot an object rbsb to interactively modify its graph
nbrep4alk
determines the number of repetitions of an alk
nd2bn
extracts the sub-bn comprising a node and its direct parents
new8alk
generates a new alk from user specification
new8audit
produced a bn of kind 'audit' from a /gn/
new8noralk
very simplified version of new8alk
normalize4pta
normalize pt
parents8alk
finds the parents at the variable level of an /alk/
parents8bn
returns the direct parents of a bn
parents8win
finds the parents at the variable level of a /win/
part8bgn
classifies a set of nodes according to a subset of them
plan0
generates values from one node of a bn
plan1
generates imposed values to start a simulation plan on a bn
plot8bn
plots an object bn
plot8dn
Plots the numeric or categoric variables of a dn object
plot8dnca
univariate plot for a categoric variable
plot8dncaca
bivariate plot for two categoric variables
plot8dnco
univariate plot for a continuous variable
plot8dncoca
bivariate plot for a continuous and a categoric variables
plot8dncoco
bivariate plot for two continuous variables
plot8gene
plots ancestry [descendants] of node(s) of a bn/gn
plot8path
plots separately all paths between two nodes
porder
finds a parentship order onto the nodes and more
print8alk
prints the node-variable names
print8alkcomp
prints an alk object supposed to be completed for a bn
print8alkuse
prints an alk object not supposed to be completed for a bn
print8bn
prints a bn object
print8dn
prints a /dn/
print8link
prints an interpretation of one link of a bn
print8links
prints the interpretation of some links of a bn
print8pt2
prints a pt object of dimension two
print8pta
prints the node-variable names
print8win
prints a /win/
range8node
returns the variable ranges of a given node
rcatbn
creates a pseudo-random numcat bn object
read8audit
produced an audit /bn/ from a text file
read8bn
produced a /bn/ from a text file
rebastaba
draws some Bayesian networks for illustration
rebastaba3k
assigns the rsba constants
repartition3dn
scans the repartition of the values of dn@df
rnd4bn
removes a series of nodes into a bn object
rnorbn
creates a pseudo-random normal bn object from a given bn
rsba.alk-class
Class "alk" to define *a*sked *l*in*k* by the user
rsba.pta-class
Class "pta" to store probability tables
rsba.win-class
Class "win" to define a node from a data.frame
rsbn.bn-class
Class for Bayesian Networks
rsdn.dn-class
Class for data sets associated to bn, most often simulated
score4dn
Completes a dn with its score
simulate8bn
simulates a /dn/ from a /bn/
study8nd
extracts sub-bn(s) with one parent one child from a bn
subn
finds independent sub-bn in a BN
uniform4bn
introduces a uniform distribution on one node
valid8alk
checks an /alk/
valid8bn
checks a /bn/
valid8dn
checks a /dn/
valid8pta
checks a /pta/
valid8win
checks a /win/
var4alk
finds the variable names for an alk.
variables8win
returns all variables involved in a /win/
win2list
transforms into a list a /win/
write8bn
writes a /bn/ to a file
zero2bn
starting an empty bn

Files in this package

rebastaba
rebastaba/NAMESPACE
rebastaba/R
rebastaba/R/f3.rsmi.code.r
rebastaba/R/f2.rsdn.code.r
rebastaba/R/zzz.R
rebastaba/R/f1.rsbn.code.r
rebastaba/R/f0.rsba.code.r
rebastaba/tests
rebastaba/tests/rsbn.demo.bn.three_nodes.txt
rebastaba/tests/rsbn.demo.creating.R
rebastaba/tests/rsbn.demo.list.R
rebastaba/tests/rsdn.demo.simulating.R
rebastaba/tests/rsdn.demo.bn.anemones.txt
rebastaba/tests/rsbn.demo.bn.empidata.txt
rebastaba/tests/rsba.demo.alk.R
rebastaba/tests/rsdn.demo.dn.plotting.R
rebastaba/tests/rsdn.demo.empi2.txt
rebastaba/tests/rsbn.demo.misc.R
rebastaba/tests/rsbn.demo.data.small_population.txt
rebastaba/tests/rsdn.demo.empi1.txt
rebastaba/tests/rsbn.demo.bn.popula.txt
rebastaba/tests/rsdn.demo.empidata.R
rebastaba/tests/rsba.demo.easyp.R
rebastaba/tests/rsdn.demo.bn.parcat.txt
rebastaba/tests/rsdn.demo.bn.standard.txt
rebastaba/tests/rsdn.demo.creating.R
rebastaba/tests/rsdn.demo.bn.two_nodes.txt
rebastaba/tests/rsdn.demo.data.small_population.txt
rebastaba/tests/rsba.demo.ion.R
rebastaba/tests/rsbn.demo.bn.multivariate_node.txt
rebastaba/tests/rsbn.demo.bn.dirac.txt
rebastaba/tests/rsbn.demo.bn.two_nodes.txt
rebastaba/inst
rebastaba/inst/original
rebastaba/inst/original/rsmi.code.r
rebastaba/inst/original/rsdn.code.r
rebastaba/inst/original/rsba.code.r
rebastaba/inst/original/rsbn.code.r
rebastaba/inst/files
rebastaba/inst/files/rsbn.demo.bn.three_nodes.txt
rebastaba/inst/files/rsdn.demo.bn.anemones.txt
rebastaba/inst/files/rsbn.demo.bn.empidata.txt
rebastaba/inst/files/rsdn.demo.empi2.txt
rebastaba/inst/files/rsbn.demo.data.small_population.txt
rebastaba/inst/files/rsdn.demo.empi1.txt
rebastaba/inst/files/rsbn.demo.bn.popula.txt
rebastaba/inst/files/rsdn.demo.bn.parcat.txt
rebastaba/inst/files/rsdn.demo.bn.standard.txt
rebastaba/inst/files/rsdn.demo.bn.two_nodes.txt
rebastaba/inst/files/rsdn.demo.data.small_population.txt
rebastaba/inst/files/rsbn.demo.bn.multivariate_node.txt
rebastaba/inst/files/rsbn.demo.bn.dirac.txt
rebastaba/inst/files/rsbn.demo.bn.two_nodes.txt
rebastaba/DESCRIPTION
rebastaba/man
rebastaba/man/study8nd.Rd
rebastaba/man/df2bn.Rd
rebastaba/man/bn2pam.Rd
rebastaba/man/plot8bn.Rd
rebastaba/man/parents8win.Rd
rebastaba/man/rnorbn.Rd
rebastaba/man/print8link.Rd
rebastaba/man/complete8alk.Rd
rebastaba/man/var4alk.Rd
rebastaba/man/isndmulti.Rd
rebastaba/man/bn2nd.Rd
rebastaba/man/part8bgn.Rd
rebastaba/man/help8ltype.Rd
rebastaba/man/normalize4pta.Rd
rebastaba/man/list2bn.Rd
rebastaba/man/rcatbn.Rd
rebastaba/man/valid8win.Rd
rebastaba/man/write8bn.Rd
rebastaba/man/read8audit.Rd
rebastaba/man/valid8dn.Rd
rebastaba/man/bn2model.Rd
rebastaba/man/draw8dist.Rd
rebastaba/man/plot8dncoca.Rd
rebastaba/man/bn2bugs.Rd
rebastaba/man/parents8alk.Rd
rebastaba/man/bn2list.Rd
rebastaba/man/porder.Rd
rebastaba/man/bn2pta.Rd
rebastaba/man/categ3beta.Rd
rebastaba/man/plot8dn.Rd
rebastaba/man/print8bn.Rd
rebastaba/man/ind8bgn.Rd
rebastaba/man/bn2bn.Rd
rebastaba/man/list2alk.Rd
rebastaba/man/children8bn.Rd
rebastaba/man/categ3beta2.Rd
rebastaba/man/range8node.Rd
rebastaba/man/zero2bn.Rd
rebastaba/man/bn2dn.Rd
rebastaba/man/dn2csv.Rd
rebastaba/man/rsba.alk-class.Rd
rebastaba/man/easyps2dim.Rd
rebastaba/man/bn2jagscript.Rd
rebastaba/man/easyp2code1.Rd
rebastaba/man/grappa4check.Rd
rebastaba/man/rnd4bn.Rd
rebastaba/man/form3nd.Rd
rebastaba/man/read8bn.Rd
rebastaba/man/mnd4bn.Rd
rebastaba/man/new8audit.Rd
rebastaba/man/nbrep4alk.Rd
rebastaba/man/print8dn.Rd
rebastaba/man/rsdn.dn-class.Rd
rebastaba/man/new8alk.Rd
rebastaba/man/print8alkcomp.Rd
rebastaba/man/print8links.Rd
rebastaba/man/print8alk.Rd
rebastaba/man/plan1.Rd
rebastaba/man/modify4bn.Rd
rebastaba/man/expr3bugs.Rd
rebastaba/man/dn2bstat.Rd
rebastaba/man/rsba.pta-class.Rd
rebastaba/man/alkvar.Rd
rebastaba/man/draw8predg.Rd
rebastaba/man/draw8multinom.Rd
rebastaba/man/rsbn.bn-class.Rd
rebastaba/man/rsba.win-class.Rd
rebastaba/man/rebastaba3k.Rd
rebastaba/man/check8alk.Rd
rebastaba/man/bn2gn.Rd
rebastaba/man/draw8Dirichlet.Rd
rebastaba/man/parents8bn.Rd
rebastaba/man/valid8pta.Rd
rebastaba/man/dn2ustat.Rd
rebastaba/man/and4bn.Rd
rebastaba/man/cycle8bgn.Rd
rebastaba/man/draw8edcg.Rd
rebastaba/man/plot8dncaca.Rd
rebastaba/man/valid8bn.Rd
rebastaba/man/easyp3trouve.Rd
rebastaba/man/plot8gene.Rd
rebastaba/man/gn2bn.Rd
rebastaba/man/easyp3expanded.Rd
rebastaba/man/Dirac4bn.Rd
rebastaba/man/print8pt2.Rd
rebastaba/man/bn2alk.Rd
rebastaba/man/draw8empidata.Rd
rebastaba/man/easyp2code.Rd
rebastaba/man/repartition3dn.Rd
rebastaba/man/print8win.Rd
rebastaba/man/print8alkuse.Rd
rebastaba/man/variables8win.Rd
rebastaba/man/nd2bn.Rd
rebastaba/man/dim8nd.Rd
rebastaba/man/plot8path.Rd
rebastaba/man/draw8predi.Rd
rebastaba/man/isalkrepeatable.Rd
rebastaba/man/subn.Rd
rebastaba/man/easyp2dim.Rd
rebastaba/man/draw8sele.Rd
rebastaba/man/expr3func.Rd
rebastaba/man/new8noralk.Rd
rebastaba/man/print8pta.Rd
rebastaba/man/list2win.Rd
rebastaba/man/dn2score.Rd
rebastaba/man/rebastaba.Rd
rebastaba/man/code4bn.Rd
rebastaba/man/alk2list.Rd
rebastaba/man/score4dn.Rd
rebastaba/man/categ3betap.Rd
rebastaba/man/uniform4bn.Rd
rebastaba/man/valid8alk.Rd
rebastaba/man/easyp2code2.Rd
rebastaba/man/plot8dncoco.Rd
rebastaba/man/simulate8bn.Rd
rebastaba/man/plot8dnca.Rd
rebastaba/man/anode4bn.Rd
rebastaba/man/win2list.Rd
rebastaba/man/plot8dnco.Rd
rebastaba/man/connect8bgn.Rd
rebastaba/man/plan0.Rd
rebastaba/demo
rebastaba/demo/rsbn.demo.creating.R
rebastaba/demo/rsbn.demo.list.R
rebastaba/demo/rsdn.demo.simulating.R
rebastaba/demo/rsba.demo.alk.R
rebastaba/demo/rsdn.demo.dn.plotting.R
rebastaba/demo/00Index
rebastaba/demo/rsbn.demo.misc.R
rebastaba/demo/rsdn.demo.empidata.R
rebastaba/demo/rsba.demo.easyp.R
rebastaba/demo/rsdn.demo.creating.R
rebastaba/demo/rsba.demo.ion.R