ddalthorp / GenEst

R package development for a generalized mortality estimator
Other
6 stars 6 forks source link

use survreg (rather than custom optim) in cpm #519

Closed ddalthorp closed 6 years ago

ddalthorp commented 6 years ago

Internals of cpm revised so that survreg is used whenever formula_s is not an additive model and contains two or fewer covariates cpm args and return values remained unchanged.