Learn R Programming

msir (version 1.3.3)

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)

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.

See Also

msir