0

In the given code:

table(cut(rpois(1000, 50), seq(0, 100, by = 10)))

the result is such that L < x <= U. I would like the result to be L <= x < U. This is required for entire for all. I have tried including include.lowest and include.highest but it doesn't work or I might be applying it incorrectly. Please help. I would appreciate if the code is simple using base/stats only. Else also is fine.

Darren Tsai
  • 32,117
  • 5
  • 21
  • 51
Sanjay
  • 41
  • 3

0 Answers0