ufactors: This function generates the unique factors for a unique...

Description Usage Arguments Value Examples

View source: R/ufactors_function.R

Description

This function generates the unique factors for a unique factor CCD.

Usage

1

Arguments

x

a matrix of 0's and 1's indicating factor and response relationships. Rows represent responses; columns represent factors. A 1 represents that the factor for that column is related to the response for that row.

Value

numeric vector indicating unique factors

Examples

1
2
3
4
5
6
7
8
9
#Response 1 is related to factors 1, 2, and 3
#Response 2 is related to factors 2, 3, and 4
#Response 3 is related to factors 1, 3, and 5
#Response 4 is related to factors 1 and 4
x<-matrix(c(1,1,1,0,0,
            0,1,1,1,0,
            1,0,1,0,1,
            1,0,0,1,0), nrow = 4,byrow = TRUE)
ufactors(x)

DoE.multi.response documentation built on Aug. 22, 2019, 9:03 a.m.