Learn R Programming

grouped (version 0.6-0)

equispaced: Equispaced Coarsening Mechanism

Description

Creates the lower and upper limits of the interval in which the true response lies for grouped data in $[0, 1]$.

Usage

equispaced(y, m)

Arguments

y
the score obtained or number of successes.
m
the maximum score or number of trials.

Value

  • a 2-dimensional matrix containing the lower and upper limits of the intervals.

Details

After splitting the $[0, 1]$ interval in m + 1 intervals of equal length, equispaced returns the limits of the intervals into which the rounded version, namely y/m, of the true response lies.

See Also

grouped

Examples

Run this code
equispaced(Seeds$r, Seeds$n)

Run the code above in your browser using DataLab