sumtab: Descriptive Statistics Table Results

Description Usage Arguments Details Value

View source: R/sumtab.R

Description

Generate Descriptive Statistics Table

Usage

1
sumtab(data, varlist, group)

Arguments

data

Input data (data.frame)

varlist

List of variable names

group

Name of group variable (factor)

Details

Frequency numbers with percentage would be calculated for categorical variable.

Mean and Standard Deviation would be calculated for continuous variables.

P-values calculated from Chi-squared test and T-test for categorical and continuous variables respectively.

P-values calculated excluding missing values.

Value

Table Results of Descriptive Statistics with P-values


shenhanjie/statsTBL documentation built on Dec. 23, 2021, 1:22 a.m.