A long overdue overhaul of my eeptools package for R was released to CRAN today and should be showing up in the mirrors soon. The release notes for this version are extensive as this represents a modernization of the package infrastructure and the reimagining of many of the utility functions contained in the package. From the release notes:
This is a major update including removing little used functions and renaming and restructuring functions.
New Functionality
- A new package vignette is now included
nth_maxfunction for finding thenthhighest value in a vectorretained_calcnow accepts user specified values forsidandgradedestringfunction deprecated and renamed tomakenumto better reflect the use of the functioncrosstabsfunction exported to allow the user to generate the data behindcrosstabplotbut not draw the plot
Deprecated
dropbox_sourcedeprecated, use therdrop2packageplotForWordfunction deprecated in favor of packages likeknitrandrmarkdownmapmerge2has been deprecated in favor of a testedmapmergemosaictabs.labelshas been deprecated in favor ofcrosstabplot
Bug Fixes
nsimsingelmansimwas renamed ton.simsto align with thearmpackage- Fixed bug in
retained_calcwhere user specifiedsidresulted in wrong ids being returned - Inserted a meaningful error in
age_calcwhen the enddate is before the date of birth - Fixed issue with
age_calcwhich lead to wrong fraction of age during leap years lag_datanow can do leads and lags and includes proper error messages- fix major bugs for
statamodeincluding faulty default to method and returning objects of the wrong class - add unit tests and continuous integration support for better package updating
- fix behavior of
max_misin cases when it is passed an empty vector or a vector of NA leading_zerofunction made robust to negative values- added NA handling options to
cutoffandthresh - Codebase is now tested with
lintrto improve readability
