Displaying 2 results from an estimated 2 matches for "gpr119a".
2011 Feb 02
2
Finding the maximum in a particular group in a dataframe
Hello
I am trying to find a way to find the max value, for only a subset of a
dataframe, depending on how the data is grouped for example,
How would I find the maxmium responce, for all the GPR119a condition below:
I've tried tapply
> tapply(GPR119data$responce, GPR119data$GPR119a, max)
Error in tapply(GPR119data$responce, GPR119data$GPR119a, max) :
arguments must have same length
responce,mouce,condition
0.105902,KO,con
0.232018561,KO,con
0.335008375,KO,con
0.387025433,KO,GPR119...
2011 Feb 01
5
(no subject)
Hello
I am trying to find a way to find the max value, for only a subset of a
dataframe, depending on how the data is grouped for example,
How would I find the maxmium responce, for all the GPR119a condition below:
responce,mouce,condition
0.105902,KO,con
0.232018561,KO,con
0.335008375,KO,con
0.387025433,KO,GPR119a
0.576769897,KO,GPR119a
0.645120419,KO,GPR119a
0.2538608,KO,GPR119b
0.183061952,KO,GPR119b
0.824035587,KO,GPR119b
0.399201597,KO,GPR119c
0.417006618,KO,GPR119c
0.572958834,KO,GPR11...