msir.nslices: Default number of slices

View source: R/msir.R

msir.nslicesR Documentation

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)

Arguments

n

the number of observations in the sample.

p

the number of predictors in the sample.

Value

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

Author(s)

Luca Scrucca luca.scrucca@unipg.it

See Also

msir


msir documentation built on Jan. 10, 2026, 5:07 p.m.