Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nwfunique

Makes a network family unique.


Description

Removes networks that are equal or equivalent to networks already in the network family.

Usage

## S3 method for class 'networkfamily'
unique(x,incomparables=FALSE,equi=FALSE,timetrace=FALSE,epsilon=1e-12,...)

Arguments

x

an object of class networkfamily.

incomparables

a logical, but has no effect.

equi

a logical. If TRUE, also equivalent networks are thrown out (i.e. if their score is within epsilon from another network).

timetrace

a logical. If TRUE, prints some timing information on the screen.

epsilon

a numeric, which measures how close network scores are allowed to be from each other to be 'equivalent'.

...

further arguments (no effect)

Author(s)

Susanne Gammelgaard Bottcher,
Claus Dethlefsen rpackage.deal@gmail.com.

Examples

data(rats)
rats.nwf <- networkfamily(rats)
rats.nwf2<- unique(getnetwork(rats.nwf),equi=TRUE)

deal

Learning Bayesian Networks with Mixed Variables

v1.2-39
GPL (>= 2)
Authors
Susanne Gammelgaard Bottcher, Claus Dethlefsen.
Initial release
2018-10-20

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.