msir.slices | R Documentation |
Function used for slicing a continuous response variable.
msir.slices(y, nslices)
y |
a vector of |
nslices |
the number of slices, no larger than |
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. |
Luca Scrucca luca.scrucca@unipg.it
msir
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.