Is tail(details$agebreaks,2)[1] meant to be the element before the last of details$agebreaks? Do you assume that the last value is always Inf? As the user can supply details$agebreaks directly, that assumption is not currently safe guarded, or is it?
Hi Murray,
I have a question about this line:
https://github.com/MurrayEfford/openCR/blob/366927414633c83158034bef3e7f63e99922449f/R/openCR.fit.R#L140
Is
tail(details$agebreaks,2)[1]
meant to be the element before the last ofdetails$agebreaks
? Do you assume that the last value is alwaysInf
? As the user can supplydetails$agebreaks
directly, that assumption is not currently safe guarded, or is it?Thank you in advance.
Cheers