msir.nslices | R Documentation |
This function computes a Sturges' type number of slices to be used as default in the msir
function.
msir.nslices(n, p)
n |
the number of observations in the sample. |
p |
the number of predictors in the sample. |
The function returns a single value, i.e. the number of slices.
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.