Returns the two-way frequency table using either cutpoints or class marks.
double
array containing either the cutpoints or the class marks for x
. double
array containing either the cutpoints or the class marks for y
. A two dimensional double
array containing the two-way frequency table.
Cutpoints are boundaries and class marks are the midpoints of xIntervals
and yIntervals
.
Equally spaced class marks in ascending order must be provided in the arrays cx
and cy
. The class marks the midpoints of each interval. Each interval is taken to have length cx[1] - cx[0]
in the x direction and cy[1] - cy[0]
in the y direction. The total number of elements in the output table may be less than the number of observations of input data. Arguments xIntervals
and yIntervals
must be greater than or equal to 2 for this option.
TableTwoWay Class | Imsl.Stat Namespace