R/make.mortality.r

Defines functions make.mortality

make.mortality = function(p, redo=F) {
  # est total mortality
  outfilename = file.path( p$annual.results, "mortality.rates.rdata" )
  if (!redo) {
    load( outfilename )
    return ( xx )
  }

  save( xx, file=outfilename, compress=T )
  return(xx)
} 
jae0/bio.snowcrab documentation built on Nov. 6, 2024, 10:10 p.m.