R/ll.jRCI.A.cons1.R

Defines functions `ll.jRCI.A.cons1`

`ll.jRCI.A.cons1` = 
function(par, yi, ind.lst, X, sex, ni, ni0, xs, iphi, theta){
  par1 = c(par[1], par)
  logL = ll.tRCI.A(par0=par1, yi=yi, ind.lst=ind.lst, X=X, twosex=FALSE, iphi=iphi)
  logL = logL + ll.aRC(par0=par1[c(2, 3)], ni, ni0, xs, theta)  

  return(logL)
}

Try the rxSeq package in your browser

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

rxSeq documentation built on May 1, 2019, 11:31 p.m.