indexer {CNVRG}R Documentation

Determine indices for treatment groups

Description

This function determines the indices for the first and last replicates within a vector describing treatment group.

Usage

indexer(x)

Arguments

x

Vector input.

Value

A list with two named elements that contain start and end indices.

Examples

indexer(c(rep("treatment1",5), rep("treatment2",5)))

[Package CNVRG version 1.0.0 Index]