Learn R Programming

flatness (version 0.1.4)

make_JP_ready: Modify a set of rkhist objects so that they can be used in the Jolliffe-Primo flatness test

Description

The Jolliffe-Primo flatness test requires deviate vectors that are orthonormal and that each has components summing to zero. This function ensures this by using, if it is required, the Grahm-Schmidt method to make the set orthonormal and also makes the sum of each vector's components equal to zero.

Usage

make_JP_ready(x, verbose = TRUE)

Arguments

x

an rkhist object.

verbose

a logical. Should the result of the check be displayed?

Value

An rkhist object, containing the modified vectors set obeying the requirements for the Jolliffe-Primo flatness test.

Details

Note this procedure may greatly change the shape of vectors.