R/boa.getiter.R

"boa.getiter" <-
function(link, iter)
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
{
   result <- NULL
   idx <- is.element(dimnames(link)[[1]], iter)
   if(any(idx))  result <- link[idx, , drop = FALSE]

   return(result)
}

Try the boa package in your browser

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

boa documentation built on May 1, 2019, 9:12 p.m.