alias_matrix: Creates the Alias Matrix

Description Usage Arguments Value Examples

View source: R/alias_matrix.R

Description

Creates the Alias Matrix

Usage

1

Arguments

X

an encoded first order design matrix of 0's, 1's, and 2's with f columns.

Value

The alias matrix that corresponds to all second order interactions compared to the main effects of X.

Examples

1
2
3
4
5
6
7
8
## Not run: 
X <- ran_D(15, 3)
alias_matrix(X)

X1 <- rot(X, c(1,1,1))
alias_matrix(X1)

## End(Not run)

vinny-paris/optrotvec documentation built on April 9, 2021, 4:34 a.m.