Learn R Programming

networkBMA (version 1.14.0)

summary.networkBMA: Summarizes a networkBMA object.

Description

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

Usage

"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

Run this code
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)

Run the code above in your browser using DataLab