R/ll.aRC.X.R

Defines functions `ll.aRC.X`

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
# negative log likelihood of ASE data from reciprical cross
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
`ll.aRC.X` = 
function(par0, ni, ni0, xs, theta, l.tau.r){#tausB
  mu = par0[1] + par0[2] * xs + l.tau.r
  lpi  = mu - log1p(exp(mu))
  logL =  -logBB(ni, ni0, exp(lpi), 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.