Programmer Guide/Command Reference/EVAL/hist: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)
(No difference)

Revision as of 17:31, 18 November 2010

hist

The absolute frequency of a vector in arbitrary classes. The result of the following functions is a vector or a scalar (dependent on the number of classes).

Using n classes with the same width, the first class begins at us and the last class ends at os.

hist(x, us, os, n)

nrow(uv) classes where every pair (uv[i], ov[i]) defines the value range of a class.

hist(x, uv, ov)

nrow(rv)-1 classes where every pair (rv[i], rv[i+1]) defines the value range for summation.

hist(x, rv)

nrow(rm) classes where every pair (rm[i,0], rm[i,1]) defines a value range for summation.

hist(x, rm)

Navigation menu

Personal tools