Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for makeLifeTable, dEntropy, and kEntropy #18

Merged
merged 7 commits into from
Jun 29, 2018
Merged

Fixes for makeLifeTable, dEntropy, and kEntropy #18

merged 7 commits into from
Jun 29, 2018

Conversation

patrickbarks
Copy link
Collaborator

Fixes bugs in makeLifeTable, dEntropy, and kEntropy described in #14.

Pulls duplicated code sections calculating lx and mx into separate, exported functions (ageSpecificSurv and ageSpecificRepro), which now get called by makeLifeTable, dEntropy, and kEntropy, as per #15.

Edits toward standardizing error checking and documentation in makeLifeTable, dEntropy, and kEntropy.

…, and moves duplicated sections calculating lx and mx into separate functions as per #15
…n mid-point approx; remove ages at/beyond which lx is 0; standardize formatting and documentation
…o separate fn; stop converting lxmx == 0 to 1; standardize formatting and documentation
…idRule fn, and other small edits to documentation
@simonrolph
Copy link

@jonesor @robcito why haven't these changes been merged yet?

@patrickbarks
Copy link
Collaborator Author

patrickbarks commented May 3, 2018

I forgot about these. I had been meaning to ask @jonesor: who would be the best person to review these edits (Owen and Rob are both listed as authors on most of the relevant functions)? Or should I just merge these into the devel branch, and then we can have the 'review' process before merging devel with master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants