Assume
group <- c("A0", "A1") then getValue(A1 - A0)
group <- c("A0", "A1", "A2") then getValue(A1 - A0, A2 - A0)
group <- c("A0", "A1", "A2", "A3") then getValue(A1 - A0, A2 - A0, A3 - A0)
If I have group <- c("A0", "A1", ..., "A100") then getValue(A1 - A0, ..., A100 - A0)
I would like to know how to automatically pass the values of group into getValue() like in the above three examples, rather than write them one by one manually?
For example, I have group <- c("A0", "A1", ..., "A1000"), how to pass these values into getValue() function?
Thanks.