R/ll.aRC.theta.A2.R

Defines functions `ll.aRC.theta.A2`

`ll.aRC.theta.A2` = 
function(par0, bs1, bs2, ni, ni0, sex, xs){
  theta = par0
  return(ll.aRC(par0=bs1, ni=ni[sex == 1], ni0=ni0[sex == 1], xs=xs[sex == 1], theta=theta) + 
         ll.aRC(par0=bs2, ni=ni[sex == -1], ni0=ni0[sex == -1], xs=xs[sex == -1], theta=theta))
}

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.