powered by
Function used for slicing a continuous response variable.
msir.slices(y, nslices)
a vector of \(n\) values
the number of slices, no larger than \(n\)
Returns a list with components:
an indicator variable for the slices.
the actual number of slices produced.
the number of observations in each slice.
msir