[R] quantile

S Ellison S.Ellison at lgcgroup.com
Wed Jun 19 17:00:05 CEST 2013


Or cast to vector: 

> set.seed(28)
>  x<- sample(1:40,20,replace=TRUE)
>  qx<-quantile(x,probs=0.10)
>  qx
> #10%
> #3.8

> as.vector(qx)
> #3.8



*******************************************************************
This email and any attachments are confidential. Any use...{{dropped:8}}



More information about the R-help mailing list