Slice a vector into slices of approximately equal size
msir.slices.Rd
Function used for slicing a continuous response variable.
Value
Returns a list with components:
- slice.indicator
an indicator variable for the slices.
- nslices
the actual number of slices produced.
- slice.sizes
the number of observations in each slice.
Author
Luca Scrucca luca.scrucca@unipg.it