summary.networkBMA {networkBMA} | R Documentation

## Summarizes a `networkBMA` object.

### Description

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

### Usage

    ## 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

    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)

[Package networkBMA version 2.22.0 Index]