Fivenum: Difference between revisions

No change in size ,  6 years ago
m
Python before R
m (added a ;Task: section header, added whitespace to the task's preamble, added whitespace before the table-of-contents (TOC).)
m (Python before R)
Line 328:
(7 15 37.5 40 41)
(-1.95059594 -0.676741205 0.23324706 0.746070945 1.73131507)</pre>
 
=={{header|R}}==
The '''fivenum''' function is built-in, see [https://stat.ethz.ch/R-manual/R-devel/library/stats/html/fivenum.html R manual].
 
<lang R>x <- c(0.14082834, 0.09748790, 1.73131507, 0.87636009, -1.95059594, 0.73438555,-0.03035726, 1.46675970, -0.74621349, -0.72588772, 0.63905160, 0.61501527, -0.98983780, -1.00447874, -0.62759469, 0.66206163, 1.04312009, -0.10305385, 0.75775634, 0.32566578)
> fivenum(x)
[1] -1.9505959 -0.6767412 0.2332471 0.7460709 1.7313151</lang>
 
=={{header|Python}}==
Line 370 ⟶ 363:
{{out}}
<pre>[-1.95059594, -0.676741205, 0.23324706, 0.746070945, 1.73131507]</pre>
 
=={{header|R}}==
The '''fivenum''' function is built-in, see [https://stat.ethz.ch/R-manual/R-devel/library/stats/html/fivenum.html R manual].
 
<lang R>x <- c(0.14082834, 0.09748790, 1.73131507, 0.87636009, -1.95059594, 0.73438555,-0.03035726, 1.46675970, -0.74621349, -0.72588772, 0.63905160, 0.61501527, -0.98983780, -1.00447874, -0.62759469, 0.66206163, 1.04312009, -0.10305385, 0.75775634, 0.32566578)
> fivenum(x)
[1] -1.9505959 -0.6767412 0.2332471 0.7460709 1.7313151</lang>
 
=={{header|REXX}}==
1,707

edits