Skip to content
Prev 12256 / 398502 Next

returning quartiles of a list?

On Tue, 10 Jul 2001, Greg Trafton wrote:
Ah. Look at the indexing vector
[1] 4.5 5.5 6.5

You actually want n%/%2 or round(n/2) rather than n/2 to ensure that it is
an integer

	-thomas


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._