How to close the last intervale in the Class Limit of a FDTH table

I'm trying to close the last intervale of my table because it miss a value, the last value.

>  tablaFrecuencias = fdt(Edad,start=min(Edad),end=max(Edad),h=8.5)
> tablaFrecuencias
 Class limits  f   rf rf(%)  cf cf(%)
       [3,12)  3 0.01   0.6   3   0.6
      [12,20) 18 0.04   3.6  21   4.2
      [20,28) 99 0.20  19.8 120  24.0
      [28,37) 93 0.19  18.6 213  42.6
      [37,46) 86 0.17  17.2 299  59.8
      [46,54) 66 0.13  13.2 365  73.0
      [54,62) 73 0.15  14.6 438  87.6
      [62,71) 29 0.06   5.8 467  93.4
      [71,80) 19 0.04   3.8 486  97.2
      [80,88) 13 0.03   2.6 499  99.8

[80,88) 88 is an open intervale, it gives me a total cf%=99.8 and cf=499 when it should be 500.

How I get a full 100% and my missed value

I think you have two different issues

  1. getting cf up to 100.
    I think the reason it doesnt for you, is because of your choice of h=8.5, I expect at some certain lower number cf 100 would start to show
  2. having the last limit show a square bracket on the right
    I think the package doesnt support square brackets on both sides, but has them on either the right or the left.
    perhaps this is less of an issue for you than the 1st issue.
1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.