Learn R Programming

normality (version 0.0.1)

normality_standard_output: Standard output format

Description

The standard output format for normality package.

Usage

normality_standard_output(
  method = "what test?",
  is_normal = NA,
  alpha = NA_real_,
  alternative = c("two.sided", "less", "greater"),
  summary_table = NULL,
  statistic = NA_real_,
  pvalue = NA_real_,
  confidence_interval = c(lower = NA_real_, upper = NA_real_)
)

Value

A list contains 8 vectors.

Arguments

method

Character. The name of the test.

is_normal

Logical. Is the input data normally distributed?

alpha

Numeric (default: 0.05). Significance threshold.

alternative

Character. The alternative hypothesis (H1) to test. Available options are c("two.sided", "less", "greater").

summary_table

Statistic summary, if any.

statistic

Numeric. The value used to calculate p-value.

pvalue

Numeric. The p-value of the test.

confidence_interval

Numeric vector of length 2. The lower and upper bound of CI.