powered by
This function determines the indices for the first and last replicates within a vector describing treatment group.
indexer(x)
Vector input.
A list with two named elements that contain start and end indices.
# NOT RUN { indexer(c(rep("treatment1",5), rep("treatment2",5))) # }
Run the code above in your browser using DataLab