R/err.R

"err" <-
function(res,...){
  if(is.null(res[["best"]])){
    min(res$err)
  }else res$best[[1]]$err
}

Try the blockmodelingOld package in your browser

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

blockmodelingOld documentation built on May 2, 2019, 5:11 p.m.