Nothing
NBlike_phi_offset <-
function(para, data1, ppr1, ppr0, mus,mub, k=k)
{
#Log-likelihood based on mixture of NB(mu, size), maximised using optim() function
N=length(data1)
phis=para[1]
phib=para[2]
temp1=sum(ppr1*ifelse(data1<k, 0, dnbinom(data1-k, phis, ,mus, log=TRUE)))
temp2=sum(ppr0*dnbinom(data1, phib, ,mub, log=TRUE))
logl=temp1+temp2
return(-logl)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.