sig_test {DescrTab2}R Documentation

Calculates a statistical significance test

Description

Calculates a statistical significance test

Usage

sig_test(
  var,
  group = NULL,
  test_options = list(),
  test = NULL,
  var_name = NULL
)

Arguments

var

A variable (a vector).

group

A variable containing the grouping information.

test_options

Named list containing test options.

test

Name of a statistical test.

var_name

Name of variable to be tested (only used in warning messages).

Value

A list of test test results.

Examples

cont_var <- c(1, 2, 3)
sig_test(cont_var)

[Package DescrTab2 version 2.1.16 Index]