paulhibbing / TwoRegression

GNU General Public License v3.0
0 stars 0 forks source link

Allow multiple `method` selections in main function #1

Open paulhibbing opened 2 years ago

paulhibbing commented 2 years ago

It may sometimes be desirable to invoke multiple 2RMs simultaneously. Providing a mechanism for this would increase convenience and reduce runtime (especially by preventing recalculation of CVs). I'm not sure the best way to implement it, though. It would take a fair amount of experimentation.

For now, it should be possible to get all the desired methods implemented through interactive coding, with some piping and variable renaming etc. But a good package-based solution is going to take some thought. Help encouraged.

paulhibbing commented 2 years ago

Notably, it is already possible to invoke multiple models when method == "Hibbing 2018", just because of the way that one is set up and the commonalities among all the models it contains.