get_rep: Generates number of replications in a design
Description
The get_rep function finds the number of replications of the treaments in a given design.
Usage
get_rep(design)
Arguments
design
A design in matrix format
Value
It returns a scalar value denoting the number of replications of the treatments in the design.
Details
This function reads a design (D) in matrix format and obtain the number of replications (r) of the treatments (v) of the given design where rows are treated as blocks.