Freq(s)

Top  Previous  Next

freqs($p)

 

Returns a list of the frequencies in data parameter $p.

 

freq($p[ref])

 

Finds the frequency value of a frequency pair. It is normally used with data parameters.

 

For example if you have created the following data parameter.

 

$f=data(10:2,11:5,12:4,13,14:2,15:2)

 

You can access the frequency value of one of the data points.

 

freq($f[3])  will return 4

 

You can also use the freq command with grouped data.

 

For example if you have created the following data parameter.

 

$g=data(10~20:2,20~30:6,30~40:4,40~50:2)

 

You can access the frequency value of one of the data points.

 

freq($g[2])  will return 6