pRep4 {pRepDesigns}R Documentation

p-rep designs with unequal block sizes

Description

The first step of this function involves generating a higher associate PBIB (partially balanced incomplete block) design consisting of two sets of blocks. Subsequently, by creating various combinations of these two sets of blocks, it generates multiple p-rep designs in different environments with unequal block sizes.

Usage

pRep4(v, m, s, randomized_layout = FALSE)

Arguments

v

Total number of treatments (v = 2ms*(s-1))

m

Positive integer (m>=1)

s

Positive integer (s>=3)

randomized_layout

TRUE or FALSE. By default it is FALSE.

Value

This function calculates design parameters (v, b1, b2, r, k1, k2), average variance factors, and canonical efficiency factors of generated designs.

Examples

## Not run: 
library(pRepDesigns)
pRep4(48, 2, 4)
## End(Not run)

[Package pRepDesigns version 1.2.0 Index]