Description Usage Arguments Value Examples
(bn) just creating a bn without any link and constant distribution
numbering the nodes from the variables of the data frame.
When a
variable is a factor, then the distribution is taken as categoric
with uniform distribution.
1 |
df |
the data frame |
description |
the descripion to give to the bn. |
a bn object
1 2 | rebastaba3k("RESET"); # (only for R checking)
print(df2bn(data.frame(A=1:3, B=LETTERS[1:3], C=11:13)));
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.