indexer: Determine indices for treatment groups

Description Usage Arguments Value Examples

View source: R/convrg_func.R

Description

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

Usage

1

Arguments

x

Vector input.

Value

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

Examples

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

JHarrisonEcoEvo/CNVRG documentation built on Dec. 30, 2021, 1:21 a.m.