Prints summary statistics from an object of class abnDag
Usage
# S3 method for abnDag
summary(object, ...)
Arguments
- object
an object of class
abnLearned
,abnFit
. Alternatively, a matrix or a formula statement defining the network structure, a directed acyclic graph (DAG). Note that row names must be set up or given innode.names
.- ...
additional parameters. Not used at the moment.
Examples
mydag <- createAbnDag(dag = ~a+b|a, data.df = data.frame("a"=1, "b"=1))
summary(mydag)
#> $n.nodes
#> [1] 2
#>
#> $n.arcs
#> [1] 1
#>
#> $mb.average
#> [1] 1
#>
#> $nh.average
#> [1] 1
#>
#> $parent.average
#> [1] 0.5
#>
#> $children.average
#> [1] 0.5
#>