powered by
Convert a given factor to an accepted index
use_index(x)
A character or a factor to be used as index
You can use evaluate_index() to evaluate how good an index is. For the inverse look at batch_names().
evaluate_index()
batch_names()
plates <- c("P1", "P2", "P1", "P2", "P2", "P3", "P1", "P3", "P1", "P1") use_index(plates)
Run the code above in your browser using DataLab