Skip to content
Prev 244095 / 398506 Next

Cutting Matrix

With the result of the 'cut' you can get a direct index for the values:
[1] 0.26550866 0.37212390 0.57285336 0.90820779 0.20168193 0.89838968
0.94467527 0.66079779 0.62911404
[10] 0.06178627 0.20597457 0.17655675 0.68702285 0.38410372 0.76984142
0.49769924 0.71761851 0.99190609
[19] 0.38003518 0.77744522
$`(-Inf,0.199]`
[1] 0.06178627 0.17655675

$`(0.199,0.912]`
 [1] 0.2655087 0.3721239 0.5728534 0.9082078 0.2016819 0.8983897
0.6607978 0.6291140 0.2059746 0.6870228
[11] 0.3841037 0.7698414 0.4976992 0.7176185 0.3800352 0.7774452

$`(0.912, Inf]`
[1] 0.9446753 0.9919061

        
On Mon, Dec 6, 2010 at 2:38 PM, Marty_H <church01 at alpenjodel.de> wrote: