powered by
Removes networks that are equal or equivalent to networks already in the network family.
# S3 method for networkfamily unique(x,incomparables=FALSE,equi=FALSE,timetrace=FALSE,epsilon=1e-12,...)
an object of class networkfamily.
networkfamily
a logical, but has no effect.
a logical. If TRUE, also equivalent networks are thrown out (i.e. if their score is within epsilon from another network).
TRUE
epsilon
a logical. If TRUE, prints some timing information on the screen.
a numeric, which measures how close network scores are allowed to be from each other to be 'equivalent'.
further arguments (no effect)
Susanne Gammelgaard Bottcher, Claus Dethlefsen rpackage.deal@gmail.com.
data(rats) rats.nwf <- networkfamily(rats) rats.nwf2<- unique(getnetwork(rats.nwf),equi=TRUE)
Run the code above in your browser using DataLab