indexer {CNVRG} | R Documentation |
This function determines the indices for the first and last replicates within a vector describing treatment group.
indexer(x)
x |
Vector input. |
A list with two named elements that contain start and end indices.
indexer(c(rep("treatment1",5), rep("treatment2",5)))