summary.networkBMA: Summarizes a 'networkBMA' object.

Description Usage Arguments Value See Also Examples

Description

Counts the number of edges in a networkBMA object that are at or above specified probability thresholds.

Usage

1
2
## S3 method for class 'networkBMA'
summary(object, thresholds = c(0,.5,.75,.90,.95,1), ...)

Arguments

object

A networkBMA object.

thresholds

Threshold probabilities. The number of edges at or above these values are included in the output.

...

Not used. For generic/method consistency.

Value

A vector giving the number of edges in the object that have probability at or above the values given in thresholds.

See Also

networkBMA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
data(dream4)

# there are a total of 5 datasets (networks) in the dream4ts100 data
network <- 1

nTimePoints <- length(unique(dream4ts10[[network]]$time))

edges1ts10 <- networkBMA( data = dream4ts10[[network]][,-(1:2)], 
                           nTimePoints = nTimePoints, prior.prob = 0.01, 
                           nvar = 50)

summary(edges1ts10)

networkBMA documentation built on Jan. 28, 2021, 2:02 a.m.