Package: Gmisc 3.0.3

Gmisc: Descriptive Statistics, Transition Plots, and More

Tools for making the descriptive "Table 1" used in medical articles, a transition plot for showing changes between categories (also known as a Sankey diagram), flow charts by extending the grid package, a method for variable selection based on the SVD, Bézier lines with arrows complementing the ones in the 'grid' package, and more.

Authors:Max Gordon <[email protected]>

Gmisc_3.0.3.tar.gz
Gmisc_3.0.3.zip(r-4.5)Gmisc_3.0.3.zip(r-4.4)Gmisc_3.0.3.zip(r-4.3)
Gmisc_3.0.3.tgz(r-4.4-x86_64)Gmisc_3.0.3.tgz(r-4.4-arm64)Gmisc_3.0.3.tgz(r-4.3-x86_64)Gmisc_3.0.3.tgz(r-4.3-arm64)
Gmisc_3.0.3.tar.gz(r-4.5-noble)Gmisc_3.0.3.tar.gz(r-4.4-noble)
Gmisc_3.0.3.tgz(r-4.4-emscripten)Gmisc_3.0.3.tgz(r-4.3-emscripten)
Gmisc.pdf |Gmisc.html
Gmisc/json (API)
NEWS

# Install 'Gmisc' in R:
install.packages('Gmisc', repos = c('https://gforge.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/gforge/gmisc/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

10.22 score 49 stars 2 packages 225 scripts 1.4k downloads 20 mentions 44 exports 73 dependencies

Last updated 1 years agofrom:968d4edfd8. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 01 2024
R-4.5-win-x86_64NOTENov 01 2024
R-4.5-linux-x86_64NOTENov 01 2024
R-4.4-win-x86_64OKNov 01 2024
R-4.4-mac-x86_64OKNov 01 2024
R-4.4-mac-aarch64OKNov 01 2024
R-4.3-win-x86_64OKNov 01 2024
R-4.3-mac-x86_64OKNov 01 2024
R-4.3-mac-aarch64OKNov 01 2024

Exports:alignHorizontalalignVerticalbezierArrowGradientbezierArrowSmplboxGrobboxPropGrobconnectGrobconvertShowMissingcoordscopyAllNewAttributesdescGetMissingdescribeFactorsdescribeMeandescribeMediandescribePropdistancedocx_documentfastDoCallfigCapNofigCapNoLastfigCapNoNextforestplot2getDescriptionStatsBygetPvalAnovagetPvalChiSqgetPvalFishergetPvalKruskalgetPvalWilcoxgetSvdMostInfluentialgnrlBezierPointshasinsertRowAndKeepAttrmergeDescmergeListsmoveBoxpathJoinretrieveset_column_labelsset_column_unitsspreadHorizontalspreadVerticaltime2spanTxttransitionPlotyamlDump

Dependencies:abindbackportsbase64encbslibcachemcheckmatecliclustercolorspacecpp11data.tabledigestevaluatefansifarverfastmapfontawesomeforeignforestplotFormulafsgenericsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclelubridatemagrittrMASSMatrixmemoisemgcvmimemunsellnlmennetpillarpkgconfigR6rappdirsRColorBrewerRcpprlangrmarkdownrpartrstudioapisassscalesstringistringrtibbletimechangetinytexutf8vctrsviridisviridisLitewithrxfunXMLyaml

Building a flowchart

Rendered fromGrid-based_flowcharts.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2020-06-30
Started: 2016-09-17

Descriptives statistics for Table 1

Rendered fromDescriptives.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2022-11-19
Started: 2015-03-04

Introduction to the Transition-class

Rendered fromTransition-class.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2022-01-03
Started: 2015-03-04

Introduction to the transitionPlot (deprecated)

Rendered fromtransitionPlot.Rmdusingknitr::rmarkdownon Nov 01 2024.

Last update: 2021-02-06
Started: 2015-01-18

Readme and manuals

Help Manual

Help pageTopics
Collection of functions for plotting relations, generating tables, and more.Gmisc-package
Align boxesalign alignHorizontal alignVertical
A bezier arrow with gradientbezierArrowGradient
A simple bezier arrowbezierArrowSmpl
Create a box with textboxGrob heightDetails.box plot.box print.box widthDetails.box
Create a box with a color splitboxPropGrob
Gets offsetted linescalculateLinesAndArrow
Connect boxes with an arrowconnectGrob plot.connect_boxes print.connect_boxes
A function for converting a show_missing variable.convertShowMissing
Get the box coordinatescoords
A simple thing to keep the attributescopyAllNewAttributes
Get statistics for missing datadescGetMissing
Describes factor variablesdescribeFactors
Describe the meandescribeMean
A function that returns a description median that contains the interquartile range or the full rangedescribeMedian
A function that returns a description proportion that contains the number and the percentagedescribeProp
Get the distance between grid objectsdistance print.Gmisc_unit
Formatter wrapper for 'html_document', facilitates easier porting to docxdocx_document
An alternative to the internal 'do.call'fastDoCall
Adds a figure caption numberfigCapNo
Gets the last figure caption numberfigCapNoLast
Gets the next figure caption numberfigCapNoNext
Gets the bezier points adjusted for an arrowgetBezierAdj4Arrw
Creating of description statisticsgetDescriptionStatsBy htmlTable.Gmisc_getDescriptionStatsBy knit_print.Gmisc_getDescriptionStatsBy length.Gmisc_getDescriptionStatsBy print.Gmisc_getDescriptionStatsBy
P-value extractors for 'getDescriptionStatsBy'getPvalAnova getPvalChiSq getPvalFisher getPvalKruskal getPvalWilcox
Gets the maximum contributor variables from svd()getSvdMostInfluential
Generates a generalized Bézier linegnrlBezierPoints
An R alternative to the lodash 'has' in JavaScripthas
Insert a row into a matrixinsertRowAndKeepAttr
Prepares a matrix for 'htmlTable' from a listmergeDesc
Merging of multiple listsmergeLists
Move a boxGrobmoveBox
A path join functionpathJoin
Add a p-value column to the resultsprAddDescStats
Add a units column to the resultsprAddDescUnitColumn
Convert the by-list into a matrix compatible formatprAddEmptyVals
Add a total column to the resultsprAddTotalDescColumn
Add a sub-label to 'boxPropGrob'prBuildSubLabel
Converts an object to coordinatesprConvert2Coords
Creates coordinates for boxprCreateBoxCoordinates
Helper to [getDescriptionStatsBy()]prFactorDescs
Fix rownames for descriptive resultsprFixDescRownames
Retrieve basic description stats by headerprGetDescHeader
Output boxesprint.Gmisc_list_of_boxes
Helper to [getDescriptionStatsBy()]prNumericDescs
Collapses a vector for throwing errorsprPasteVec
Helper to [getDescriptionStatsBy()]prPropDescs
An R alternative to the lodash 'get' in JavaScriptretrieve
Add [Hmisc::label()] to multiple columnsset_column_labels
Add [Hmisc::unit()] to multiple columnsset_column_units
Spread boxesspread spreadHorizontal spreadVertical
A dense time-span texttime2spanTxt
A reference class for generating transition plotsTransition Transition-class
A transition plottransitionPlot
Outputs an objectyamlDump