This is a collection of functions that I've found useful in my research. The package is inspired by Frank Harrell's Hmisc package. The main focus is on tables, plots, and knitr-integration.
getDescriptionStatsBy is a straight forward function that
aims at helping you to generate descriptive table stratified by different
variables. In other words, the function returns everything you need for generating
a Table 1 ready for publication. This function is accompanied by the
mergeDesc allows you to merge a set of outputs
htmlTable with the rgroup arguments automatically
vignette("descriptives", package="Gmisc") for a
detailed workflow description.
The transition plot function,
transitionPlot, is for
descriptive purposes. It tries to illustrate the size of change
between one state and the next, i.e. a transition. This is
basically a graph of based upon
The Singular value decomposition
is a common method for reducing the number of variables. Unfortunately
this compression can reduce the interpretability of the model. The
function tries to remedy that by identifying the most influential
elements from the
insertRowAndKeepAttr simply adds a row while remembering
all the attributes previously set by using the
mergeLists tries to merge lists that do not have identical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.