0

How can I get the border values given by ntile function in R? For example I am converting continuous variable into a categorical one:

complexes_data2$DurationClass <- ntile(complexes_data2$Duration, 3)

How can I get the exact values where one category (group) ends and another one starts? Border values?

Cath
  • 23,575
  • 4
  • 51
  • 82
Kaisar
  • 49
  • 5
  • 2
    As I understand it, `ntile()` is purely empirical, so simply taking the minimum of `complexes_data2$Duration` by `complexes_data2$DurationClass` should give you what you want. – Limey Sep 07 '21 at 12:21

0 Answers0