khsmisc | R Documentation |
This package provides a set of custom functions for data handling, vector manipulation, and tabulation, and plotting.
varlist
: Variable list/dataset inventory, Stata style
write_csv_safely
, save_safely
,
pdf_safely
:
Export CSV files, R objects, or PDFs without overwriting existing files
scale_to_range
: Scale a vector to a given range
Mode
: Most common value
roundp
: Round and format p-values
tabulate_rowcol
: A contingency table for categorical
variables.
tsummary
: A descriptive table for continuous variables
stripplot
: Box-whiskers/dot plot
corrmat
: Correlation matrix
exclusion_flowchart
: Flowcharts of exclusions from a study
geom_stepribbon
: Step ribbon plots
brickchart
: Brick chart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.