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, a method for variable selection based on the SVD, Bézier lines with arrows complementing the ones in the 'grid' package, and more.

AuthorMax Gordon <max@gforge.se>
Date of publication2016-12-27 15:28:19
MaintainerMax Gordon <max@gforge.se>
LicenseGPL (>= 3)
Version1.4.1
http://gforge.se

View on CRAN

Man pages

assert: Checks if unit or number 0-1

bezierArrowGradient: A bezier arrow with gradient

bezierArrowSmpl: A simple bezier arrow

box: Create a box with text

boxPropGrob: Create a box with a color split

calculateLinesAndArrow: Gets offsetted lines

connect: Connect boxes with an arrow

convertShowMissing: A function for converting a show_missing variable.

copyAllNewAttributes: A simple thing to keep the attributes

descGetMissing: Get missingness statistics

describeFactors: Describes factor variables

describeMean: Describe the mean

describeMedian: A function that returns a description median that contains...

describeProp: A function that returns a description proportion that...

docx_document: Formatter wrapper for 'html_document', facilitates easier...

fastDoCall: An alternative to the internal 'do.call'

figCapNo: Adds a figure caption number

figCapNoLast: Gets the last figure caption number

figCapNoNext: Gets the next figure caption number

getAbsoluteWidth: Translates "npc" widths into absolute units

getBezierAdj4Arrw: Gets the bezier points adjusted for an arrow

getDescriptionStatsBy: Creating of description statistics

getGridVal: Gets grid value

getPval: P-value extractors for 'getDescriptionStatsBy'

getSvdMostInfluential: Gets the maximum contributor variables from svd()

getVectorAngle: Gets an angle

Gmisc-deprecated: Deprecated function(s) in 'Gmisc'

Gmisc-package: Collection of functions for plotting relations, generating...

gnrlBezierPoints: Generates a generalized Bezier line

htmlTable_latex: A wrapper around the 'htmlTable'/'latex' function

insertRowAndKeepAttr: Insert a row into a matrix

isHorizontal: Just a simple help with interpreting the radians

mergeDesc: Prepares a matrix for htmlTable from a list

mergeLists: Merging of multiple lists

mergeLists_internal: A helper function for mergeLists that does the actual work.

prCaptionFix: Fixes the caption for elements without caption

prDescGetAndValidateDefaultRef: A helper function for the description stats

prFtpHeaderStyle: Helper to ftp_document

prFtpOtherChanges: Changes lines for XML-conformity

prFtpOtherRemoval: Removes other unwanted lines

prFtpScriptRemoval: Removes the <script>*</scrip>

prGetStatistics: Get statistics according to the type

prGetTextGrobCex: Just a simple acces to the gp$cex parameter

prGridPlotTitle: Adds a title to the plot

prPasteVec: Collapses a vector for throwing errors

prPushMarginViewport: Pushes viewport with margins

prSetMaxWidth: Updates the css max-width

prTcMatchClr: Finds the matching colors for the new addition based on the...

prTcPlotArrows: Plots the arrows within a single transition set

prTcPlotBoxColumn: Plots a column of boxes

prTcValidateAndPrepClr: Checks and prepares colors

prTpGetBoxPositions: Gets the box position

prTpGetBoxPropClr: Gets the color for the given box

prTpGetBoxSizedTextGrob: Gets the text size for the box

prTpGetColors: Gets a set of colors or just one color

prTpPlotArrows: Plots the arrows

prTpPlotBox: Plots the box for the transition plot

prTpPlotBoxes: Plot boxes and arrows

Transition-class: A reference class for generating transition plots

transitionPlot: A transition plot

validateAndConvertVectorInputs: Checks the input of a vector

Files in this package

Gmisc
Gmisc/inst
Gmisc/inst/examples
Gmisc/inst/examples/data-SCB_example.R
Gmisc/inst/examples/mergeLists_example.R
Gmisc/inst/examples/getDescriptionStatsBy_example.R
Gmisc/inst/examples/getSvdMostInfluential_example.R
Gmisc/inst/examples/transitionClass_example.R
Gmisc/inst/examples/fastDoCall_ex.R
Gmisc/inst/examples/bezierArrowGradient_example.R
Gmisc/inst/examples/bezierArrowSmpl_example.R
Gmisc/inst/examples/connectGrob_example.R
Gmisc/inst/extdata
Gmisc/inst/extdata/Full_test_suite.Rmd
Gmisc/inst/doc
Gmisc/inst/doc/Descriptives.Rmd
Gmisc/inst/doc/Descriptives.html
Gmisc/inst/doc/Transition-class.html
Gmisc/inst/doc/Descriptives.R
Gmisc/inst/doc/transitionPlot.R
Gmisc/inst/doc/Transition-class.R
Gmisc/inst/doc/Grid-based_flowcharts.html
Gmisc/inst/doc/Transition-class.Rmd
Gmisc/inst/doc/Grid-based_flowcharts.Rmd
Gmisc/inst/doc/transitionPlot.Rmd
Gmisc/inst/doc/transitionPlot.html
Gmisc/inst/doc/Grid-based_flowcharts.R
Gmisc/inst/rmarkdown
Gmisc/inst/rmarkdown/docx.css
Gmisc/inst/rmarkdown/templates
Gmisc/inst/rmarkdown/templates/CONSORT_v2010_docx
Gmisc/inst/rmarkdown/templates/CONSORT_v2010_docx/template.yaml
Gmisc/inst/rmarkdown/templates/CONSORT_v2010_docx/skeleton
Gmisc/inst/rmarkdown/templates/CONSORT_v2010_docx/skeleton/skeleton.Rmd
Gmisc/inst/rmarkdown/templates/STROBE_v4_docx
Gmisc/inst/rmarkdown/templates/STROBE_v4_docx/template.yaml
Gmisc/inst/rmarkdown/templates/STROBE_v4_docx/skeleton
Gmisc/inst/rmarkdown/templates/STROBE_v4_docx/skeleton/skeleton.Rmd
Gmisc/inst/include
Gmisc/inst/include/Gmisc.h
Gmisc/tests
Gmisc/tests/visual_tests
Gmisc/tests/visual_tests/Full_test_suite.Rmd
Gmisc/tests/visual_tests/Max_width_test.Rmd
Gmisc/tests/visual_tests/FTP_test
Gmisc/tests/visual_tests/FTP_test/FTP_test.Rmd
Gmisc/tests/visual_tests/FTP_test/Setup_and_munge.R
Gmisc/tests/visual_tests/MathJax_test.Rmd
Gmisc/tests/visual_tests/Highlighting_test.Rmd
Gmisc/tests/visual_tests/bezierArrowRcpp_vtests.R
Gmisc/tests/visual_tests/tansitionPlot_vtests.R
Gmisc/tests/visual_tests/bezierArrowGradient_vtests.R
Gmisc/tests/visual_tests/bezierArrowSmpl_vtests.R
Gmisc/tests/visual_tests/test-bezier-adjustment.R
Gmisc/tests/visual_tests/transitionClass_vtest.R
Gmisc/tests/performance
Gmisc/tests/performance/bezierArrowProfiler.R
Gmisc/tests/cpp_tests
Gmisc/tests/cpp_tests/visual_line_debugging.R
Gmisc/tests/testthat.R
Gmisc/tests/testthat
Gmisc/tests/testthat/Rplots.pdf
Gmisc/tests/testthat/test-getDescriptionStats.R
Gmisc/tests/testthat/test-insertRowAndKeepAttr.R
Gmisc/tests/testthat/test-boxGrobs.R
Gmisc/tests/testthat/test-mergeLists.R
Gmisc/tests/testthat/test-figCapNo.R
Gmisc/tests/testthat/test-descriptionStats.R
Gmisc/tests/testthat/test-bezier.R
Gmisc/tests/testthat/test-copyAllAttributes.R
Gmisc/tests/testthat/test-docx_document.R
Gmisc/tests/testthat/test-fastDoCall.R
Gmisc/tests/testthat/test-fig_caption.R
Gmisc/tests/testthat/test-transitionClass.R
Gmisc/src
Gmisc/src/Makevars
Gmisc/src/gnrlBezier.cpp
Gmisc/src/bezierArrowFn.cpp
Gmisc/src/Gmisc_lines.cpp
Gmisc/src/Makevars.win
Gmisc/src/RcppExports.cpp
Gmisc/NAMESPACE
Gmisc/NEWS
Gmisc/R
Gmisc/R/bezierArrowGradient.R Gmisc/R/boxGrobs.R Gmisc/R/transitionClass_helpers.R Gmisc/R/insertRowAndKeepAttr.R Gmisc/R/docx_document.R Gmisc/R/fastDoCall.R Gmisc/R/assert.R Gmisc/R/mergeDesc.R Gmisc/R/getDescriptionStatsBy.R Gmisc/R/descGetMissing.R Gmisc/R/Gmisc.R Gmisc/R/mergeLists.R Gmisc/R/getSvdMostInfluential.R Gmisc/R/transitionPlot_helpers.R Gmisc/R/getPval.R Gmisc/R/descriptionStats.R Gmisc/R/RcppExports.R Gmisc/R/deprecated.R Gmisc/R/private_functions.R Gmisc/R/bezier_private_functions.R Gmisc/R/transitionPlot.R Gmisc/R/figCaptionNo.R Gmisc/R/copyAllNewAttributes.R Gmisc/R/convertShowMissing.R Gmisc/R/bezierArrowSmpl.R Gmisc/R/transitionClass.R
Gmisc/vignettes
Gmisc/vignettes/Descriptives.Rmd
Gmisc/vignettes/custom.css
Gmisc/vignettes/Transition-class.Rmd
Gmisc/vignettes/Grid-based_flowcharts.Rmd
Gmisc/vignettes/transitionPlot.Rmd
Gmisc/MD5
Gmisc/build
Gmisc/build/vignette.rds
Gmisc/DESCRIPTION
Gmisc/man
Gmisc/man/prFtpOtherChanges.Rd Gmisc/man/prTpPlotBoxes.Rd Gmisc/man/describeMedian.Rd Gmisc/man/connect.Rd Gmisc/man/prDescGetAndValidateDefaultRef.Rd Gmisc/man/prPasteVec.Rd Gmisc/man/prTcValidateAndPrepClr.Rd Gmisc/man/docx_document.Rd Gmisc/man/assert.Rd Gmisc/man/gnrlBezierPoints.Rd Gmisc/man/htmlTable_latex.Rd Gmisc/man/boxPropGrob.Rd Gmisc/man/mergeLists.Rd Gmisc/man/mergeDesc.Rd Gmisc/man/figCapNoLast.Rd Gmisc/man/prGridPlotTitle.Rd Gmisc/man/calculateLinesAndArrow.Rd Gmisc/man/prTcPlotBoxColumn.Rd Gmisc/man/figCapNo.Rd Gmisc/man/isHorizontal.Rd Gmisc/man/prTpGetBoxPropClr.Rd Gmisc/man/prTcMatchClr.Rd Gmisc/man/Gmisc-deprecated.Rd Gmisc/man/Transition-class.Rd Gmisc/man/validateAndConvertVectorInputs.Rd Gmisc/man/describeFactors.Rd Gmisc/man/prSetMaxWidth.Rd Gmisc/man/prPushMarginViewport.Rd Gmisc/man/prGetStatistics.Rd Gmisc/man/transitionPlot.Rd Gmisc/man/prTpPlotBox.Rd Gmisc/man/bezierArrowGradient.Rd Gmisc/man/prTpGetColors.Rd Gmisc/man/copyAllNewAttributes.Rd Gmisc/man/Gmisc-package.Rd Gmisc/man/getVectorAngle.Rd Gmisc/man/prTcPlotArrows.Rd Gmisc/man/prCaptionFix.Rd Gmisc/man/fastDoCall.Rd Gmisc/man/insertRowAndKeepAttr.Rd Gmisc/man/figCapNoNext.Rd Gmisc/man/getSvdMostInfluential.Rd Gmisc/man/getDescriptionStatsBy.Rd Gmisc/man/prTpGetBoxSizedTextGrob.Rd Gmisc/man/describeProp.Rd Gmisc/man/prTpPlotArrows.Rd Gmisc/man/descGetMissing.Rd Gmisc/man/box.Rd Gmisc/man/prFtpOtherRemoval.Rd Gmisc/man/prGetTextGrobCex.Rd Gmisc/man/prFtpHeaderStyle.Rd Gmisc/man/convertShowMissing.Rd Gmisc/man/getAbsoluteWidth.Rd Gmisc/man/describeMean.Rd Gmisc/man/getPval.Rd Gmisc/man/getGridVal.Rd Gmisc/man/prTpGetBoxPositions.Rd Gmisc/man/bezierArrowSmpl.Rd Gmisc/man/prFtpScriptRemoval.Rd Gmisc/man/getBezierAdj4Arrw.Rd Gmisc/man/mergeLists_internal.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.