Description Usage Arguments Value Author(s) See Also
Function used for slicing a continuous response variable.
1 | msir.slices(y, nslices)
|
y |
a vector of n values |
nslices |
the number of slices, no larger than n |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.