checker: Test for optimal rotation vectors

Description Usage Arguments Value Examples

Description

For some set of generators, this function will show what the corresponding effect the rotation vector will have on it. Most importantly if the effects level come out to be 0 then it is rotationally tolerant.

Usage

1
checker(g3, rotation_vector)

Arguments

g3

A matrix. This is the coded psuedo-design matrix with each element being 0, 1, or 2. Each row corresponds to one generator.

rotation_vector

This is the rotation vector that is to be evaluated.

Value

A List.

rotation vector

This is the vector you put in from the parameters

output

A data frame with one column being the effect and the second col being the level

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 

g3 <- c(1, 2, 1, 0, 0, 0,
      0, 0, 1, 0, 2, 2,
      0, 0, 1, 1, 0, 1,
       0, 0, 1, 2, 1, 1,
       0, 0, 0, 1, 1, 2)
g3 <- matrix(q, nrow = 5, byrow = TRUE)
checker(g3, c(2,1,1,0,1,1))

## End(Not run)

vinny-paris/TripleFrac documentation built on May 10, 2019, 8:27 a.m.