make_JP_ready: Modify a set of 'rkhist' objects so that they can be used in...

Description Usage Arguments Details Value

View source: R/deviates.R

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

1
make_JP_ready(x, verbose = TRUE)

Arguments

x

an rkhist object.

verbose

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

Details

Note this procedure may greatly change the shape of vectors.

Value

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


flatness documentation built on June 29, 2021, 9:08 a.m.