Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Note:

Example:
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)

Result:
Contents of mod
[1,]    13.25      9.1



Author: Jan Budek, W. Haerdle, 20010716 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006