use_index {experDesign}R Documentation

Convert a factor to index

Description

Convert a given factor to an accepted index

Usage

use_index(x)

Arguments

x

A character or a factor to be used as index

See Also

You can use evaluate_index() to evaluate how good an index is. For the inverse look at batch_names().

Examples

plates <- c("P1", "P2", "P1", "P2", "P2", "P3", "P1", "P3", "P1", "P1")
use_index(plates)

[Package experDesign version 0.3.0 Index]