R/Sxloglikenhpp.R

Sxloglikenhpp <-
function (time, RecurrCosts, timel, timeu, kwcount, form, theta) 
{
    answerf <- sum(RecurrCosts * flogrecurrate(time, form, theta))
    answerw <- sum(kwcount * fmcfdiff(timel, timeu, form, theta))
    answer <- answerf - answerw
    fmcf(timeu, form, theta)
    return(answer)
}
Auburngrads/SMRD documentation built on Sept. 14, 2020, 2:21 a.m.