iRoCoDe: Generate Incomplete Row-Column Designs

Description Usage Arguments Details Value Author(s) References Examples

View source: R/iRoCoDe.R

Description

The 'iRoCoDe' function uses an algorithmic approach for constructing row-column designs with incomplete rows and columns by using two incomplete block designs. A wide range of incomplete block designs, viz., balanced incomplete block designs (BIBD)/ partially balanced incomplete block designs (PBIBD)/ t-designs can be used in this function to construct these designs.

Usage

1
iRoCoDe(design1, design2)

Arguments

design1

first design (D1) having parameters: no. of treaments = v1, No. of blocks = b1, block size = k1, and treatment-replications = r1

design2

second design (D2) having parameters: no. of treaments = v2, No. of blocks = b2, block size = k2, and treatment-replications = r2

Details

The function takes two incomplete block designs D1 and D2 (having parameters v1, b1, k1, r1 and v2, b2, k2, r2) as input in matrix format. The input designs (D1 and D2) must satisfy the parametric relationships: v1 = r2, b1 = b2 and k1 = k2 for generating the new design using this function.

Value

It returns a matrix with dimention v1 x v2.

Author(s)

1) Sayantani Karmakar 2) Md. Ashraful Haque 3) Cini Varghese 4) Seema Jaggi 5) Eldho Varghese 6) Mohd. Harun

References

McSorley, J.P., Phillips, N.C., Wallis, W.D. & Yucas, J.L. (2005). Double arrays, triple arrays and balanced grids. Designs, Codes and Cryptography, 35(1), 21 - 45

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
library(iRoCoDe)
D1= matrix(c(1, 2, 5,
            2, 3, 6,
            3, 4, 1,
            4, 5, 6,
            5, 1, 3,
            6, 1, 4,
            2, 3, 4,
            3, 5, 6,
            6, 1, 2,
            2, 4, 5), nrow = 10, ncol = 3, byrow = TRUE)
D2 = matrix(c(1, 4, 5,
             2, 4, 5,
             1, 3, 4,
             1, 2, 5,
             2, 3, 5,
             1, 3, 5,
             1, 2, 4,
             1, 2, 3,
             2, 3, 4,
             3, 4, 5), nrow = 10, ncol = 3, byrow = TRUE)

D = iRoCoDe(D1,D2)
## Output:
#[1] "Incomplete Row-Column Design"
#     [,1] [,2] [,3] [,4] [,5]
#[1,]    6    9    3    1    5
#[2,]    7    2   10    9    1
#[3,]    8    7    5    3    2
#[4,]    3    4    6    7   10
#[5,]    1    5    8   10    4
#[6,]    4    8    9    2    6

iRoCoDe documentation built on Jan. 25, 2022, 5:08 p.m.

Related to iRoCoDe in iRoCoDe...