batch_names: Name the batch

View source: R/indexing.R

batch_namesR Documentation

Name the batch

Description

Given an index return the name of the batches the samples are in

Usage

batch_names(i)

Arguments

i

A list of numeric indices.

Value

A character vector with the names of the batch for each the index.

See Also

create_subset(), for the inverse look at use_index().

Examples

index <- create_subset(100, 50, 2)
batch <- batch_names(index)
head(batch)

llrs/experDesign documentation built on Dec. 24, 2024, 8:22 a.m.