This function performs the appropriate statistical test based on the user's input.

perform_statistical_test(data, input)

Arguments

data

A data frame containing the variables.

input

A list containing the user's input, including the selected statistical test, dependent variable, independent variable, identifier variable, and input mean.

Value

The result of the statistical test.