Learn R Programming

pRepDesigns (version 1.2.0)

pRep4: 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)

Value

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

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.

Examples

Run this code
if (FALSE) {
library(pRepDesigns)
pRep4(48, 2, 4)}

Run the code above in your browser using DataLab