R/summary.networkBMA.R

"summary.networkBMA" <- function(object, thresholds = c(0,.5,.75,.9,.95,1),
                                                                      ...) {
  s <- sapply( thresholds, function(p) sum(object[,3] >= p))
  names(s) <- paste(thresholds * 100, "%", sep = "")
  s  
}

Try the networkBMA package in your browser

Any scripts or data that you put into this service are public.

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