Re: [R] Apply quantile function to each dataframe in a List R

2014-08-06 Thread Zilefac Elvis
Great! Thanks. AT. On Monday, August 4, 2014 8:59 PM, rhelpmaillist wrote: Try this: lapply(a,function(x) apply(x[,-c(1,2)],2,quantile,probs=0.95)) # a is your example list At 2014-08-05 09:17:23, "Zilefac Elvis" wrote: >Hello, >I would like to calculate for each numeric column in a datafram

Re: [R] Apply quantile function to each dataframe in a List R

2014-08-04 Thread rhelpmaillist
Try this: lapply(a,function(x) apply(x[,-c(1,2)],2,quantile,probs=0.95)) # a is your example list At 2014-08-05 09:17:23, "Zilefac Elvis" wrote: >Hello, >I would like to calculate for each numeric column in a dataframe, >quantile(x,probs=o.95). >My list object has 120 dataframes, each dataframe h