A few Useful Functions for Statisticians
Comparing two databases assumed to be identical
Convert variables of a data frame in factors
Convert 0s in NA
Cut a quantitative variable in equal parts
Making descriptive statistics
Plot a histogram with a boxplot below
OR and their confidence intervals for logistic regressions
RR and their confidence intervals for Cox models
Multi cross table
A few useful functions for statisticians
Kaplan-Meier plot with number of subjects at risk below
Spaghetti plot and plot of the mean at each time
Plot a multi cross table
Plot points with the corresponding linear regression line
Various useful functions for statisticians: describe data, plot Kaplan-Meier curves with numbers of subjects at risk, compare data sets, display spaghetti-plot, build multi-contingency tables...