Library: | stats |
See also: | meancl mediancl |
Quantlet: | moduscl | |
Description: | Computes the modus structure of a given interval bounds matrix (classified data) |
Usage: | mod = moduscl (gr, fr) | |
Input: | ||
gr | a matrix of interval bounds | |
fr | a matrix of interval frequencies | |
Output: | ||
mod | modus structure of cl |
library("stats") x=#(1,5,7,9,11,15,20,21,25,29)~(1:10) y=#(1,6,4,3,15,10,9,4,5)~(1:9) moduscl(x, y)
Contents of mod [1,] 13.25 9.1