_If_ you trial numbers are indeed unique, make it a factor and retrieve the factor levels.
Or use @Rdatatable which does that for you via grouping and access to the group index.
#rstats
Dec 9, 2021 · 8:15 PM UTC
3
1
6





