createSummary: Create the statistics summary table

View source: R/createSummary.R

createSummaryR Documentation

Create the statistics summary table

Description

It produces the list containing the detail of summary statistics table for the type of y (dependent variable) either continuous or categorical

Usage

createSummary(
  x,
  y,
  data,
  max.x.level = 5,
  show.missing = FALSE,
  paired = FALSE,
  show.total = FALSE,
  verbose = FALSE,
  origData
)

Arguments

x

a independent variable

y

a dependent variable

data

A data.frame

paired

A Boolean expression (T/F) whether to perform the paired t-test. The default value is FALSE

verbose

Print the log message. The default value is FALSE

Value

A list containing the class of variable, total count of data, and p-value. In addition, the min, max, median, sd, mean will be produced only for continuous variable


parkseeh/INRAETableOne documentation built on April 19, 2022, 1:28 a.m.