Description Usage Arguments Details Author(s) Examples
View source: R/print.HydeNetwork.R
Prints a HydeNetwork object with a brief summary of each node.
1 2 |
x |
a |
... |
additional arguments to be passed to print methods. Currently none in use. |
The summary of each node follows the format
node name | parents
node type (parameter)
estimated from data (or not)
formula
Jarrod Dalton and Benjamin Nutter
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | data(PE, package="HydeNet")
Net <- HydeNetwork(~ wells +
pe | wells +
d.dimer | pregnant*pe +
angio | pe +
treat | d.dimer*angio +
death | pe*treat)
print(Net)
print(Net, d.dimer)
Net <- setNode(Net, d.dimer,
nodeType='dnorm', mean=fromData(), sd=fromData(),
nodeFormula = d.dimer ~ pregnant + pe,
nodeFitter='lm')
print(Net, d.dimer)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.