Description Usage Arguments Value Examples
View source: R/NormaliseDataset.R
The function assigns a specific value to members of a specific group. Used in order to group Metabolon run days together, e.g. 1, 2, 3 are actually the same run day.
1 | AssignLabelsToGroups(groupList, valInGroup)
|
groupList |
A list of arrays of groups |
valInGroup |
An value to find in one of the arrays in the groupList |
the index in the list that valInGroup belongs to
1 2 | AssignLabelsToGroups(list(c(1, 2, 3), c(4, 5, 6)), 6)
#returns 2 as item 6 is in the second group in the list
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.