R/jags.extract.r

Defines functions jags.extract

  

  jags.extract = function( jo, var, func, cnames=c( "cfanorth", "cfasouth", "cfa4x" ) ) {
    o =  summary( jo[[var]], func)[["stat"]] 
    if ( is.vector(o) ) o = t(o)
    colnames( o) = cnames
    return(o)
  }
 
jae0/bio.snowcrab documentation built on Nov. 6, 2024, 10:10 p.m.