Learn R Programming

Rita (version 1.2.0)

MasterTest: Master Normality Testing Function

Description

This is a master function to call the appropriate test(s) to be used in the 'Rita' function.

Usage

MasterTest(c, data, alpha = 0.05, j = 1)

Arguments

c

Input specifying the test to run (scalar)

data

The data of a univariate distribution for which the test statistic is computed (vector)

alpha

The two-sided decision threshold used for hypothesis-testing (scalar)

j

The # hypotheses tested; used to compute a Bonferonni correction, if applicable; should remain at its default if multiple testing is not an issue (scalar)

Value

An results object specific to the test designated with the 'c' argument (list)

Examples

Run this code
# NOT RUN {
values <- rnorm(100)
x <- MasterTest(c = 1, data = values)
# }

Run the code above in your browser using DataLab