R/boa.sortiter.R

"boa.sortiter" <-
function(link)
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
{
   idx <- order(as.numeric(dimnames(link)[[1]]))

   return(link[idx, , drop = FALSE])
}

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.