Calculate cutpoints/breaks for cut
to have an equal number of
patients/observations per group.
cutpoints(x, n = 50L)
double
predicted survival
integer(1)
number of patients/observation per interval
double
, cutpoints
x <- seq(0, 1, length.out = 10)
cutpoints(x, n = 2)
#> [1] 0.0000000 0.1333333 0.3777778 0.6222222 0.8666667 1.0000000