Thanks.That is what I want. It is more that I do not know how to read
factors that these two functions return
Browse[1]> y
$`13.6954016405008`
[1] (13.2,115]
Levels: (13.2,115] (115,217] (217,318] (318,420] (420,522]
$`88.5092280867206`
[1] (13.2,115]
Levels: (13.2,115] (115,217] (217,318] (318,420] (420,522]
$`137.931810364616`
[1] (115,217]
Levels: (13.2,115] (115,217] (217,318] (318,420] (420,522]
str(y)
List of 30
$ 13.6954016405008: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 1
$ 88.5092280867206: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 1
$ 137.931810364616: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 138.559590072838: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 143.085897171535: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 177.678839068735: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 177.819693807561: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 184.752000138622: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 211.255591076421: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 2
$ 238.951618624679: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 3
$ 241.609050762905: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 3
$ 252.528297510773: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 3 3 3
$ 254.643586371518: Factor w/ 5 levels "(13.2,115]","(115,217]",..: 3
I need to be able to keep the items within their groups and at the same
time to keep the label of the group so to be able to use it for plotting
purposes.
How I can do that?