- Fixed package documentation crossreference issues
- Fixed package documentation issues arising from changes in
roxygen - Made package startup message align with version number
- Removed deprecated mapping functions to address #45 the sunsetting of
maptools - Cleaned up old and redirected URLs
- Update to avoid CRAN check warnings on some platforms
- Updated unit tests to avoid warnings associated with the new random number generator in R 3.5.3
- In
max_mis, there is anifpredicate that checks if a class is of an invalid type. Because R objects can have multiple classes, this statement relies on the R semantics that the first value of the logical vector returned by the predicate is used. This is a feature R-core is looking to remove as it has considerable performance penalties. This check is now wrapped inany(), which evaluatesTRUEif any value in the logical vector isTRUE.
- New function
isidfor determining if a combination of variables uniquely define the rows in a dataframe
- Fixed error in
statamodewithmethod = "last"thanks to PR from @larcat - Fix import compatibility with ggplot2
- Minor fixes for CRAN repository compliance in dependencies contained in vignettes
A CONTRIBUTING.md file modeled after the excellent example in the rio package
by @leeper
- Fix compatibiltiy issue for
leading_zerofunction with latest version of R
- Thanks to new and better tools the mapping functions
mapmergeandggmapmergeare no longer necessary thanks togeom_mapand further enhancements toggplot2
- Revise
readme.rmdto include plots in package build
- Thanks to new
ggplot2theme options, thetheme_dpifunctions are now just wrappers fortheme_bw
- Fixed logical test in
age_calc(GH #32) - Fixed issue with calls to library in examples (GH #33)
- Compatibility with
ggplot2androxygenupdates
nth_maxperformance is improved thanks to use of partial sort contributed by @sgibb
This is a major update including removing little used functions and renaming and restructuring functions.
- 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
dropbox_sourcedeprecated, use therdrop2packageplotForWordfunction deprecated in favor of packages likeknitrandrmarkdownmapmerge2has been deprecated in favor of a testedmapmergemosaictabs.labelshas been deprecated in favor ofcrosstabplot
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
moves_calcfunction from Jason Beckergelmansimfunction to do post-estimation prediction on new data from model objects using functionality in thearmpackagestatamodeupdated to work withdata.tableage_calcfunction from Jason Becker given new precision optionlag_datafunction to create groupwise nested lags quickly
- unit tests for
decomma,gelmansim, andstatamodeusingtestthatpackage
-
new functions for building maps with shapefiles including
mapmergeto merge a dataframe and a shapefile, andggmapmergeto convert this to a document for making a map in ggplot2
-
statamodeupdated to allow for multiple methods for handling multiple modes -
emove_starsdeleted and replaced withremove_charto allow for users to specify an arbitrary character string to be removed -
add
plotForWordfunction to export plots in a Windows MetaFile for inclusion in Microsoft Office documents -
add
age_calcfunction to allow calculating the age of a vector of birthdates relative to the current date (h/t Jason Becker)
- fix typos in documentation
- fix startup message behavior
- reduce dependencies of the package dramatically so loading is faster and more lightweight