General Utility Functions for Analysis of Clinical Data


[Up] [Top]

Documentation for package ‘clinUtils’ version 0.2.0

Help Pages

checkVarInData Check if specified variables are in the data. If they are not, they are removed from specified variables and a message is printed.
clinColors Colors of 'clinUtils'
clinLinetypes Linetypes of 'clinUtils'
clinShapes Shapes of 'clinUtils'
clinShapesText Shapes of 'clinUtils' as text
clinUtils-palette Parameters for all palette functions for clinical visualizations.
colorPaletteNRIND Color palette for a standard CDISC Normal/Reference Range Indicator.
compareDiff Get differences between two data.frames
compareTables Compare tables
comparisonTables-common-args General parameters used for the comparison table functionality
convertToDatatable Convert to data.table
convertToDateTime Convert character vector to date/time object
dataADaMCDISCP01 Example of ADaM datasets from the CDISC original Pilot 01 study
dataSDTMCDISCP01 Example of SDTM datasets from the CDISC original Pilot 01 study
exportDiffData Export the 'diff.data' object from 'compareDiff' to a user-friendly format
formatDetailsComparison Format details comparison
formatDTBarVar Format a variable in a 'datatable' as a barplot.
formatLabel Concatenate and format text strings to a label
formatLabelChunk Concatenate and format text strings to a chunk label
formatLongLabel Format a variable with long labels
formatTableLabel Concatenate and format text strings to a label of a table
formatVarForPlotLabel Format parameter variable to be displayed in the labels of a plot
getClinDT Create an interactive table to display clinical data
getClinDTButtons Get a default set of buttons to be included in the interactive table for clinical data.
getColorPalette Get a color palette for clinical visualizations.
getLabelParamcd Get label for a parameter code
getLabelVar Get label for a variable of the dataset
getLabelVars Get label of the variables in SAS dataset(s)
getLinetypePalette Get a linetype palette for clinical visualizations.
getPaletteCDISC Get standard palette for typical CDISC variables.
getSetDiff Get additions/removals
getShapePalette Get a shape palette for clinical visualizations.
knitPrintListObjects Include a list of objects in a knitr document
knitPrintListPlots Include a list of plots in a knitr document
loadDataADaMSDTM Load data from ADaM/SDTM file(s).
mergeDiffWithData Merge the 'diff.data' object from 'compareDiff' with the original 'newData' or 'oldData'.
mergeInputDiff Custom merge of difference data with input data
reorderColumns Function for reordering columns
roundHalfUp Round a number with 'rounding up' strategy for rounding off a 5
roundHalfUpTextFormat Round a number with 'round-up' strategy for rounding off a 5 in text format
shapePaletteNRIND Shape palette for a standard CDISC Normal/Reference Range Indicator.
simpleCap Capitalize the first letter of a word/sentence.