Learn R Programming

automatedtests (version 0.1.2)

get_test_from_string: Internal: Returns the result of a statistical test based on a string identifier

Description

This internal function selects and runs a statistical test using data from a test object, based on the name of the test specified. It supports a wide variety of tests including t-tests, chi-square tests, ANOVA, correlation tests, regression models, and more.

Usage

get_test_from_string(test_object)

Value

The result of the selected statistical test. Typically, this is a test object with class `htest`, `aov`, `lm`, or similar.

Arguments

test_object

An object containing data, identifiers, datatypes, and test selection.