ddalthorp / GenEst

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

command-line function names #528

Closed ddalthorp closed 6 years ago

ddalthorp commented 6 years ago

from a reviewer:

"The names of the functions are relatively explicit so that it is easy to understand their rationale. A limit is that the goal to have explicit function names led to develop function names that are often a bit too long to be memorized."

ddalthorp commented 6 years ago

streamlined implementation of AIC commands is done.

ddalthorp commented 6 years ago

Some important command line function names and other structures have been simplified for ease of use and remembering.

Biggest change is the overloading of pkm and cpm, which can now take args for allCombos and sizeCol. This gives pkm and cpm the power to act as wrappers to pkmSet etc. so it is not necessary for users to remember the tricky names and arg lists for the whole suite of modeling functions. In addition cpm and pkm can now be used to estimate lists of models as indexed by sizeCol.