Hi Luigi,
You could also use:
library(Rmisc)
group.CI(copy~stimulation,my.data)[,-3]
A.K.
On Tuesday, March 25, 2014 6:19 AM, Jorge I Velez
wrote:
Hi Luigi,
Thanks for sending the data in reproducible format. Perhaps something
like this?
aggregate(my.data[,3], list(my.data[,2]), FUN = f
Hi Luigi,
Thanks for sending the data in reproducible format. Perhaps something
like this?
aggregate(my.data[,3], list(my.data[,2]), FUN = function(x) t.test(x)$
conf.int[1:2])
#Group.1 x.1 x.2
#1 Unstimulated 5.296492e+02 2.410510e+03
#2ESAT6 9.105338e+00 4.078
2 matches
Mail list logo