I have changed the birthRate and deathRate inputs to Functions. This allows them to be produced by expressions so that the parameterization for operators and priors could be something else (like diversification and turnover). Because of slight differences in available methods for Function and RealParameter it was easiest to change some downstream function inputs to double[] rather than Double[]. Ultimately this should be done for all the other canonical parameters.
A more efficient longer term solution to allow alternative parameterizations without interpretation would be for a Parameterization abstraction layer to be added. I started that in one of the other packages but didn't finish it :(
I have changed the birthRate and deathRate inputs to Functions. This allows them to be produced by expressions so that the parameterization for operators and priors could be something else (like diversification and turnover). Because of slight differences in available methods for Function and RealParameter it was easiest to change some downstream function inputs to double[] rather than Double[]. Ultimately this should be done for all the other canonical parameters.
A more efficient longer term solution to allow alternative parameterizations without interpretation would be for a Parameterization abstraction layer to be added. I started that in one of the other packages but didn't finish it :(