Learn R Programming

pRepDesigns (version 1.2.0)

pRep5: p-rep designs with equal block sizes

Description

The primary purpose of this function is to generate various proper p-rep designs for multi-environmental trials.

Usage

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

Value

This function calculates design parameters (v, b, r, k), average variance factors, and canonical efficiency factors of generated designs.

Arguments

v

Total number of treatments (v = 2ms^2)

m

Positive integer (m>=1)

s

Positive integer (s>=2)

randomized_layout

TRUE or FALSE. By default it is FALSE.

Examples

Run this code
if (FALSE) {
library(pRepDesigns)
pRep5(64, 2, 4)
}

Run the code above in your browser using DataLab