view rand53 @ 22:f5b4a2ab6204

medcouple_1d: modify the definition of medc_idx to match R's definition This uses the right (not left) middle in case of an even number of things and the middle one in case of an odd number.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Sat, 17 Jan 2015 19:56:07 -0500
parents d9230d702fbf
children
line wrap: on
line source

 0.9999996423721313
 0.9745196104049683
 0.6474838852882385
 0.3330855667591095
 0.03694454208016396
 0.1617118716239929
 0.6646450161933899
 0.08467286825180054
 0.20413638651371
 0.1673069298267365
 0.6549573540687561
 0.1288161426782608
 0.910081684589386
 0.1117162331938744
 0.2990211546421051
 0.2654474675655365
 0.6998242139816284
 0.9502823352813721
 0.09181069582700729
 0.9023414254188538
 0.9596866369247437
 0.9149752259254456
 0.441179096698761
 0.073548324406147
 0.9243592619895935
 0.08821046352386475
 0.9081778526306152
 0.3622336387634277
 0.1477079838514328
 0.8789223432540894
 0.005425572395324707
 0.2217497229576111
 0.980334997177124
 0.8301364183425903
 0.005256757605820894
 0.2463075816631317
 0.7820262908935547
 0.3407074809074402
 0.4609816670417786
 0.5199366807937622
 0.1607736349105835
 0.9745798110961914
 0.01061712950468063
 0.4142293632030487
 0.2329321503639221
 0.5551832318305969
 0.290494978427887
 0.2054739594459534
 0.561298668384552
 0.791246771812439
 0.2688879072666168
 0.3342690467834473
 0.2779258787631989