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


luca-scr/msir documentation built on March 2, 2024, 10:05 p.m.