Skip to content
Prev 342907 / 398506 Next

Apply quantile function to each dataframe in a List R

Great! Thanks.
AT.
On Monday, August 4, 2014 8:59 PM, rhelpmaillist <rhelpmaillist at 163.com> 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" <zilefacelvis at yahoo.com> wrote: