Current development version
rootfun
argument has been added. This allows the user to apply any transformation to each side of the root finding equation. The default is rootfun = log
which corresponds to uniroot
solving -H(t) - log(u) = 0.rootsolver
argument has been added. This allows the user to choose between stats::uniroot or BB::dfsane for the root finding.uniroot
function (called internally by simsurv
) now solves - H(t) - log(u) = 0 instead of exp(-H(t)) - u = 0, i.e. it is on log scale.interval
argument of simsurv
supports a lower limit of zero (thanks to Alessandro Gasparini, @ellessenne).Initial CRAN release
NEWS Template