Providing Demographic Table with the P-Value, Standardized Mean Difference Value
smd value for categorical variables
DemoGraphic table for categorical variables
smd value for continuous variable.
DemoGraphic table for continuous variables
Demographic Table for continuous and categorical variables
Mean, var function
chi square test to get expected value and p value
fisher exact test to get p value if any cell in propotion table of exp...
write smd table or demographic table into docx file
Confident interval for smd
t.test to calculate p value
The Demographic Table in R combines contingency table for categorical variables, mean and standard deviation for continuous variables. t-test, chi-square test and Fisher's exact test calculated the p-value of two groups. The standardized mean difference were performed with 95 % confident interval, and writing table into document file.