Hi, May be this helps: set.seed(28) x<- sample(1:40,20,replace=TRUE) qx<-quantile(x,probs=0.10) qx #10% #3.8 qx+1 #10% #4.8 attr(qx,"names")<-NULL qx #[1] 3.8 qx+1 #[1] 4.8 A.K.
----- Original Message ----- From: Francesco Miranda <kicco1...@hotmail.it> To: "r-help@r-project.org" <r-help@r-project.org> Cc: Sent: Wednesday, June 19, 2013 3:44 AM Subject: [R] quantile Hello,How do I extract only the value from the quantile function?example:quantile (x, probs = 0.10) 10%-1.83442I want to add salt only the number -1.83442 SincerelyFrancesco Miranda [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.