FreqTable

Top  Previous  Next

freqtable($p)

 

Returns a new data parameter which contains a frequency table for the data in $p.

 

For example, if you have a data parameter:

 

$p = data(3, 2, 5, 4, 3, 1, 6, 3, 2, 5, 4, 6, 1, 2, 3, 6, 5, 3, 3, 2, 4)

 

freqtable($p) will return a new data parameter

 

$f = data(1:2, 2:4, 3:6, 4:3, 5:2, 6:3)