Learn R Programming

msir (version 1.4)

msir.nslices: Default number of slices

Description

This function computes a Sturges' type number of slices to be used as default in the msir function.

Usage

msir.nslices(n, p)

Value

The function returns a single value, i.e. the number of slices.

Arguments

n

the number of observations in the sample.

p

the number of predictors in the sample.

Author

Luca Scrucca luca.scrucca@unipg.it

See Also

msir