alias_machine: Aliased effects

Description Usage Arguments Value Examples

Description

During a fractional factorial experiment certain effects are fully confounded. This function will tell display the aliased effects for any effect that is still estimable

Usage

1
alias_machine(num_of_vars, l)

Arguments

num_of_vars

A natural number. This tells the function how many variables are intended for your design. The limit is 26.

l

This is the system of equations used to generate the aliasing structure. It is to have each row be one "cut" of the factorial design and must have the same number of coefficents (which take the values 0, 1, 2) as x.

Value

A matrix. Each row will be an estimable effect and all it's aliases.

Examples

1
2
3
4
5
6
## Not run: 
l <- matrix(c(1,1,0,0,0,1,2,1), nrow = 2, byrow = TRUE)
l
alias_machine(4, l)

## End(Not run)

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