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
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
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 has 102 columns.
Here is an example as well as a reproducible example:
[[120]]
Year Site Sim001 Sim002 Sim003 Sim004 Sim005 Sim006 Sim007 Sim008 Si
3 matches
Mail list logo