Closed lentinj closed 7 months ago
@vbartolino this would affect your models too if we merge it. g3_init_guess('\\.M$', 0.2, 0.001, 1, 0)
would need to become g3_init_guess('\\.M\\.[0-9]+$', 0.2, 0.001, 1, 0)
, to account for there being a separate M
parameter for each age. Alternatively, make changes along the lines of the example to restore the previous behaviour: https://github.com/gadget-framework/gadget3/blob/issue-118-M-by-age/man/action_naturalmortality.Rd#L85-L92
Thoughts on whether this is a sensible default also appreciated!
I don't see any major problem with changing the query in g3_init_guess
, although it certainly requires some familiarity with regular expression. @willbutler42 and I will have a look to see if this causes any major issues and report back.
Gets a thumbs up from me, think it's a sensible default and had no issues when testing it out : )
Set the default to be
by_age = TRUE
.@bthe do you want to try this to see if anything is terribly broken before merging?