NEWS for the Gmisc package
- Fixed bug in getSvdMostInfluential with bad names appearing in graph due to bad reference, thanks Felipe (see issue #66)
- Fixed
pathJoin
for vector inputs - Added
difftime
as numeric togetDescriptionStatsBy
- BREAKING: The input parameters have changed for
getDescriptionStatsBy
and dropped old deprecated parameter conversion:show_missing_digits
->show_missing.digits
show_missing
->useNA
sig.limit
->statistics.sig_lim
two_dec.limit
->statistics.two_dec_lim
- Fixed bug in
getDescriptionStatsBy
when providing a character input - Made
getDescriptionStatsBy
S3 aware withtidyselect
pattern for generating tables. - The
yamlDump
can now take a character string and assume that is a json that needs conversion - Added
set_column_labels
andset_column_units
for usingdplyr
syntax forHmisc::label
andHmisc::units
operations. - The units column in
getDescrptionStatsBy
can now have a custom name (also changed default name to "Units") - Changed addBoxClr to addBoxStyle for Transition-class (minor breaking change)
getSvdMostInfluential
now returns the data needed for plotting- added fontsize dependent padding to
boxGrob
- Minor RCPP changes
- Minor CRAN check fixes
- BREAKING: The
mergeList
merges vectors into vectors instead of assuming that they should be bound as a matrix
- Fix for adjustment in box justification, thanks Carl Suster
- Fix for incorrect
boxPropGrob
height calculation, bad handling of missing arguments and ignored gpar arguments (issue #46) - Slightly changed color scheme for
boxGrob
s - Added
moveBox
for movingboxGrob
objects - Added
alignVertical
andalignHorizontal
for aligningboxGrob
objects - Added
spreadVertival
andspreadHorizontal
for spreadingboxGrob
objects over theviewport
- Styling of
htmlTable
removed due to the 2.0 api change, nbow. the css.rgroup should be set using sethtmlTable
::setHtmlTableTheme
or by passing the output throughhtmlTable
::addHtmlTableStyle
. - The boxes now accept language input, thanks Carl Suster
- Added
yamlDump
for quick object review - Added
pathJoin
for joining paths without worrying about trailing '/' - Added
time2spanTxt
for printing time span descriptor
- Fixed new handling of data.frame
stringsAsFactors
in next R release
- Added id as a parameter to the
Transtion
-class - Fixed bad no. of
popViewport()
not adequately leaving the transitionClass viewport tree - Fixed bad
viewport
naming inTransition
-class that was creating a conflict with multiple plots
- Fixed cran requirement where
class(x) != class(y)
could be of length > 1
- Added
digits.nonzero
for allowing values with extra digits where values are close to 0 - Changed
sprintf
totxtRound
for many of the descriptors - Fixed vignette names for CRAN
- Fixed bug in
retrieve
- Expressions are now allowed in
boxGrob
(Thanks Alan Haynes) - Added lodash similar functions
retrieve
andhas
- Removed changed constant for STRICT_R_HEADERS compliance
- Fixed minor issue related to new CPP error
- Removed test for CRAN compliance
- Changed abs to fabs in
bezierArrowFn
's c++ code
- Added skip_shadows to
Transition
-class
- Fixes non-existing values in different by-groups (issue #24)
- Added box functions between and coords
- Added more
Transition
options for arrows - Added default options for
Transition
,boxGrob
andboxGrob
Prop
- Fixed merge with master external
descGetMissing
(Thanks Peter)
- Added grid grobs for creating boxes and connecting these with lines
- Added checkmate for argument checking
- Fixed bug when providing
getDescriptionStatsBy
with custom function - Added ability add alternative column instead of the p-value column
- Fixed use_unit issue #16
- Fixed bug in vignette
- Added R-version dependency
- The
Transition
-class can now handle non-square matrix input - The total column is now also passed through the
txtInt
function - Fixed header_count bug in
getDescriptionStatsBy
- thanks rvlevitin (iss#13)
- Fixed the naming of proportions in
getDescriptionStatsBy
- If a variable has units set it can now be added into the row name in
getDescriptionStatsBy
- Merged with the Grmd-package allowing direct access to the docx_document()
- Prepared for stricter requirements for R 3.3
- Created the
Transition
class that can handle multiple transitions in contrast totransitionPlot
- The
bezierArrowGradient
has a simpler handling of the gradient proportion - The bezier arrows have been rewritten with a > 20x speed increase
- The
getDescriptionStatsBy
function is now accompanied bymergeDesc
that takes care of merging everything into one table - Added ability to customize statistics for
getDescriptionStatsBy
transitionPlot
: The color_bar_labels are now automatically extracted from the transition_flow inputtransitionPlot
: Fixed bug so that the end viewport is the roottransitionPlot
: Fixed grid arrow bugtransitionPlot
: When using 3D matrices and two colors there should only be a colorbar when used with gradient arrowstransitionPlot
: If line width is smaller than the minimum width it is now set to 0
htmlTable
and some of the formatters have now moved to the htmlTable packageforestplot2
has now moved to the forestplot package- added the
mergeDesc
in order to merge lists fromgetDescriptionStatsBy
for - All functions default to
html = TRUE
instead ofFALSE
show_missing
is nowuseNA
in order to match thetable()
call handling of missing- Fixed a few bugs
- Applied the DRY-documentation principle
- Added an interactive() check before using the viewer
- Minor adjustments to the
htmlTable
handling of no-blank spaces ( ) htmlTable
now remember the ... argument and passes it on to the print.htmlTable
() and cat()- Added figCapNo and associated caption function for numbering figure captions
- Improved documentation
- Improved the
htmlTable
viewer handling (thanks Adam Smith)
- Changed the getDescriptionsBy example to work with the
htmlTable
() instead of the Hmisc::latex() - Fixed getDescriptionsBy bug - the Total column failed when specified to be last - thanks Alexandre Vivot
- Added example for side-by side plotting for
forestplot2
- As of 0.98.932 the knitr package isn't loaded, instead the metadata or device options indicates that it is knitting
htmlTable
bug: The function can now handle matrices without column nameshtmlTable
bug: The function deletes and warns when n.rgroup/n.cgroup < 1
- Bug fix for alt_col not respecting missing rgroup - added also a simple matrix output test
- Added visual tests for
htmlTable
and moved one of the examples there - Added tableCSSclass option for
htmlTable
- thanks jphiplip
- Changed versioning to a 3-digit system as suggested by Yihui Xie http://yihui.name/en/2013/06/r-package-versioning/
- Added alt_col for coloring the rows of the
htmlTable
rgroups - thanks raredd
- Roxygen2 v 4.0.0 upgrade + other doc upgrades
- Percentages are now default without space between the number and the %-sign in order to better comply with English language standards
transitionPlot
- fixed arrow size and empty boxes- outputInt now defaults to the ',' formatting according to the English language. It also has no-breaking space if html option is set. It can also handle complex vector/matrix input.
- describeMean now allows for custom plus minus sign
- describe* now use the outputInt with the default english settings
- Minor fix for the print.
htmlTable
- bezierArrowSmplGradient changed name to just
bezierArrowGradient
- Added visual tests and debugged the
bezierArrowGradient
/transitionPlot
s - Externalized all internal functions of the transitionplot
- Added proportions for the transitionplot
- Managed thanks to Baptiste Auguié help on Stack Overflow I know now how to
calculate the height of axisGrobs - useful both in the
forestplot2
and thetransitionPlot
functions - Fixed the adjustment of the xlabel, the lineheight argument, the viewports for
the
forestplot2
function - Simplified the
transitionPlot
defaults - Fixed a gradient bug in
bezierArrowGradient
- Added the viewer for
htmlTable
allowing for direct visualisation in RStudio of the tables. Outside RStudio the utils::browseURL is used. htmlTable
added table spanner functionality, some man-page update, removed the default NULL arguments in favor of the missing() funciton, and a few minor bugfixes.
- The bezierArrowSmpl now uses "mm" internally instead of the default "npc" - this improves the rendering as the "npc" is dependent on the axis. A few adjustments to arrow functions were also added.
- Bugfixes for the bezierArrowSmplGradient.
- Bugfixed missing data for getDescriptionStats and generated a test-file in order to check most combinations that they work
- Fixed the legend-bug for
forestplot2
when using points
- Added legend markers option for the
forestplot2
function
- Fixed ticks for
forestplot2
- the prFpGetGraphTicksAndClips used the exp() for regular values. - Cleaned up some of the code for the fpDrawXXXCI functions
- Changed depends and imports for the package
- For LibreOffice compatibility
htmlTable
now includes caption inside the table when compatibility='LibreOffice' - Split the package to exclude regression functions, these are now in the Greg package
- Added title and label options to
transitionPlot
- Added a size-autofit for the
transitionPlot
text
htmlTable
caused too large colspans when cgroup was set
- Bugfixes for printC&A and getDesc.
- Added a pvalueFormatter
- Fixed Intercept bug for get/printCrudeAndAdjusted - didn't include the intercept term
- Added to
forestplot2
ability create customly drawn confidence intervals/boxes - Generated diamond, circle and point custom draw functions for
forestplot2
- Added
forestplot2
compatibility for the summary - Minor bugfixes behind the scenes
- Fixed issue with getCrudeAndAdjustedModelData mixing up rows for rms objects
- Added tfoot option to the
htmlTable
function - Switched to the proper caption-align for
htmlTable
- Added options for
htmlTable
() where you now can format the table counter text and change to Arabic numerals. - Bug: changed just to align for printCrudeAndAdjustedModel()
- Switched the order in the multi-line forestplot for the legend
- Bugfix for getTics so that it can handle small spans < .5
- Bugfix for
forestplot2
with headers
- Added title for
forestplot2
- Fixed the margins for
forestplot2
- Added more legend border and fill options to the
forestplot2
- Added the legend.title option in the
forestplot2
- Fixed the auto-sizing of the area for the
forestplot2
- Rows/elements with NA are now not included in the zero-line as they are considered to be headers
- Added more legend options to the
forestplot2
- Minor changes to simleRmsAnova
- Added some debugging info for the
getDescriptionStatsBy
with more detailed errors when unit/total columns don't match
- Externalized many of the
forestplot2
functions and added the option of having a set line height - Added new_page option for grid-based plots
- Updated the simpleRmsAnova function
- Removed the plot.new() from transitionplot, this is in order to allow splitting plots, adding it to a viewport etc.
- Added the lineheight option for
forestplot2
- Fixed the R CMD Check --as-cran to run without any objections
- Updated dependencies
- Fixed rownames in printCrudeAndAdjusted
- Changed printCrudeAndAdjusted to return a matrix subclass instead of immediately printing
- Ran through som Pkg-check and hopefully cleared out some bugs
- getCrudeAndAdjusted is now an S3 method that has a default method and a method for rms objects. The rms relies on rms:::summaryrms and returns a matrix that is pruned and used for the situation.
- printCrudeAndAdjusted has externalized a lot of its functions and handling of the new rms getCrudeAndAdjusted output
- printCrudeAndAdjusted now ignores any interaction variables
forestplot2
fix so that it properly handles data.frames as arguments- printCrudeAndAdjustedModel has a better handling of the groups argument
- Improved import to importFrom
- The
forestplot2
is updated - the widths are now relative to the window size, there is a margin option, and many of the inside functions have moved to helpers outside. Also fixed the alignment of the summary label to work better. - Fixed a minor bug for cgroup without rowlabels
- Added default_ref for both
getDescriptionStatsBy
and describeProp function. - The percentage sign in
getDescriptionStatsBy
, describProp and describeFactors is now optional. - A minor bug fix for cgroup.just for the
htmlTable
function
- Minor fix to rownames in
htmlTable
... again. - Had to remove the "terms" option from the plotHR rms:::cph() alternative as it did caused an error ** The error seems to stem from predictrms() where the Adjto function deletes the adjto output in: ** adjto <- if (int.pres) ** model.matrix(Terms.ns, adjto)[, -1, drop = FALSE] ** I will have to look into it one day...
- Fixed a rowname problem for
htmlTable
- Changed the rowlabel.pos to be by default at the bottom, seems more natural with multi-layered tables.
- Fixed a caption problem for
htmlTable
- bezierArrowSmpl needed a color for the arrow line as it turned black by default. The line was added to fix the anti-aliasing issue.
- Changed CSS-defaults for groups when using the function printCrudeAndAdjusted
- Minor regular expression fix for printCrudeAndAdjusted for the addref. function
- Minor fix for cgroup.just as this was affected by the previous update
- Fixed the
htmlTable
cgroup.just issue - The
htmlTable
is now rendering correct w3c-validated code
- Minor improvement to the
htmlTable
function with align now accepting vectors - Added multiline cgroup alternative
- Added a robust alternative for rms ols regressions that now can use the sandwich package
- Added
mergeList
s() function for merging multiple lists
- New options for plotHR
- Minor fixes to the bezier arrows
- Update for
transitionPlot
to avoid overlapping background arrows
- Thank you Adam Van Iwaarden for fixing the
htmlTable
alignment and a few bugs! - Bug fix for prGetModelVariables affecting model with functions as parameters
- Added poisson (link=log) to the getCrudeAndAdjusted function to ret exp() values
- Added
transitionPlot
ability to indicate proportions in the rectangles
- Added the bezier arrows to the transition plot
- Added a bridge option for the transition plot arrows
- Bugfix for the bezierSmplGradient
- Added the bezier arrows.
- Added lwd parameters to the
transitionPlot
lines - Changed the transition matrix - the sums were not necessary as they easily can be calculated from the rowSums/colSums.
- Added the
transitionPlot
- Bugfix for
htmlTable
- throws error if a one dimensional x is provided
- Bugfix for plotHR - there were issues with getting the model data
- Added option for having specific digits in printCrudeAndAdjustedModel in the model and the descriptive part
- Added the option of having descriptive data to the printCrudeAndAdjustedModel
- A completely new way to extract the model dataset
- Change the option for printCrudeAndAdjustedModel from just html to output alternatives html, latex or raw
- Altered the name of the describe_ functions to follow the camelCase style, i.e. describe_mean is now describeMean
- Added the
getSvdMostInfluential
function
- The simpleRmsAnovaLatex now has a better handling of the low p-values
- Fixed a minor but with printCrudeAndAdjusted with the automated reference
- Added the option of hadding a total column even in "vertical" mode
- Changed parameter names hrzl_prop.show_perc to total_col_show_perc
- Bugfix: The total column causes errors if the by contains missing values
- Fixed a few bugs to the
forestplot2