R/jerr.fishnet.R

Defines functions jerr.fishnet

Documented in jerr.fishnet

jerr.fishnet=function(n,maxit,pmax){
  outlist=jerr.elnet(n,maxit,pmax)
  if(outlist$msg!="Unknown error")return(outlist)
  if(n==8888)msg="Negative response values - should be counts"  
  else if(n==9999)msg="No positive observation weights"
  else 	 msg="Unknown error"
  list(n=n,fatal=TRUE,msg=msg)
}

Try the glmnet package in your browser

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

glmnet documentation built on Nov. 15, 2019, 9:06 a.m.