Man pages for shug0131/cctu
In-house Functions for Report Writing at Cambridge Clinical Trials Unit

all_is_numericCheck if All Elements in Character Vector are Numeric
apply_macro_dictApply DLU/CLU file to the data frame
attach_popFunctions that attach and detach environments based on which...
cctab_plotCreate summary plot for cctab function
cctucctu: A package for producing analysis reports from clinical...
cctu_initialiseinitialise objects for using cctu package
clean_namesTidies up names of a data frame within certain rules
clean_upremoves all the objects in the environment, apart from those...
copy_labCopy variable label and value labels
create_popn_envircreate environments contain a set of data frames filtered for...
create_word_xmlProduces the final xml file
cttabGenerate an table of descriptive statistics.
data_table_summaryProvides a summary with date stamps of external data files.
detect_invalid_utf8Functions to detect and delete non-UTF8 characters, which the...
dump_missing_reportSave/Get/Reset missingness report
extract_formExtract data by form from MACRO dataset
format_percentFormat number to percent
format_pvalFormat p-value
get_code_treetrack which files of code are called by which oher files
get_meta_tableFunctions to handle meta_table
get_objGets copies of objects from parent environments, or returns...
is_emptyCheck whether string, list or vector is empty
lab2valReplace vector/matrix/data.frame values with corresponding...
merge_dataMerge vertically split data
meta_table_exampleExample of a meta_table data frame
num_statCompute some basic descriptive statistics.
order_deweysorts inputs that look like Dewey decimal numbering
p_formatformats p values with rounding and <0.001
print.cttabPrint
propercaseFunction to convert text to propercase
rbind.cttabCombine descriptive statistics table by rows
rbind_spaceFunction to bind tables/matrices with a blank row between...
read_dataAutomatic reading in data from a meta-table of external data...
remove_blank_rows_colsFunction to remove blank rows/columns from a df
render_catRender categorical values for table output.
render_numericRender continuous values for table output.
report_missingGenerate missing report
rm_envirA function to remove all attached objects from the search...
run_batchRuns a script in batch mode directly from within R.
set_dluSet/get DLU data
signif_padRound numbers with 0-padding.
sourceA modified version of the source() function to capture in a...
stat_tabGenerate a descriptive summary statistics table.
sumbyProduces summary statistics on a variable broken down by arm,...
sumfigProduce ggplot to represent summary statistics graphically,...
tidy_dluTidy DLU form
to_factorConvert vector but keep value/value labels.
unlabDrop variable label and value labels
val_labSet or get value labels
var_labSet or get variable label
write_ggplotFunction to save ggplot figures.
write_manualFunction to write to meta-table and clean up without creating...
write_plotFunction to save plot figures
write_tableFunction to write a table into xml format in the correct...
write_textFunction to write a text into xml format in the correct...
shug0131/cctu documentation built on Nov. 10, 2023, 12:03 p.m.