Man pages for oucru-biostats/C306
Collection of useful R codes for data analysis from the Biostatistics group at OUCRU

as_sstableCoerce an object to sstable
contSummaryCalculate summary statistics for continuous variable
convert.infoConvert imported OUCRU's data dictionary into a general data...
createProjectCreate project's folder based on pre-defined folder structure
explicitTransform an object to its explicit form
explicit.lmTransform a model to its explicit form
ft_ssthemeFlextable theming for sstable
getlabelObtain label of variable(s) based on metadata information
gg_ajsurvplotPlot the Aalen-Johansen curve with ggplot for competing risks
gg_ajsurvplot2Plot 2 Aalen-Johansen curves with ggplot for competing risks
gg_boxcoxCompute and draw Box-Cox transformation plot for linear...
ggsurvfit2ggsurvfit with strata saved
ht_theme_kableA kable-esque theme for huxtable object
ht_theme_markdownA stripe theme for huxtable object
import.infoImport OUCRU's data dictionary into R
inspect.dataCheck formatted data based on a pre-defined information
labAEIdentify new lab adverse event to report
logist_summaryAn alternative summary for a logistic model with OR, CI, and...
mutate_fCreate or transform variables, with support for multiple...
myformat.dataFormat data based on pre-defined information
pctGet the proportion for each level or range of a vector
print.logist_summaryPrint method for logist_summary
print.subgroup_logist_summaryPrint method for subgroup_logist_summary
rbind.ss_objRow-binding two sstables
ref_lvGet or set the reference level
simple_recodeDo a simple recode via pattern for data
simple_relevelRelevel in correspondence to another factor
simple_sortSort a vector in a user-defined order
ss_bodyDesignation of body part for custom sstable
ss_flextableCreate summary table using flextable package.
ss_formatQuick format a sstable in preparation for create...
ss_headerDesignation of header rows for custom sstable
ss_huxtableCreate summary table using huxtable package.
ss_sectionDesignation of section title rows for custom sstable
sstable.aeCreate an adverse event summary table
sstable.baselineCreate baseline table
sstable.baseline.editCreate baseline table
sstable.survcompSummarize results for a Cox survival model or restricted mean...
sstable.survcomp.subgroupSummarize results for a survival model by treatment arm and...
ss_templateSet template for sstable
subgroup_effectCalculation of covariable effects within each value of...
summarise_fReduce multiple values by summarisation functions.
tidy_survfit2Tidy survfit with strata save
t.subgroup_logist_summaryTranspose a subgroup logist summary table
untidy_strataUntidy the tidy_survfit
oucru-biostats/C306 documentation built on July 16, 2024, 2:33 p.m.