User Manual - Page 59

For N3/TBL/1L1/J.

Loading ...
Loading ...
Loading ...
freqTablelist()
Catalog >
freqTablelist(List1,freqIntegerList)
list
Returns a list containing the elements from
List1 expanded according to the
frequencies in freqIntegerList. This
function can be used for building a
frequency table for the Data & Statistics
application.
List1 can be any valid list.
freqIntegerList must have the same
dimension as List1 and must contain non-
negative integer elements only. Each
element specifies the number of times the
corresponding List1 element will be
repeated in the result list. A value of zero
excludes the corresponding List1 element.
Note: You can insert this function from the
computer keyboard by typing
freqTable@>list(...).
Empty (void) elements are ignored. For
more information on empty elements, see
page 196.
frequency()
Catalog >
frequency(List1,binsList) list
Returns a list containing counts of the
elements in List1. The counts are based on
ranges (bins) that you define in binsList.
If binsList is {b(1), b(2), …, b(n)}, the
specified ranges are {?b(1), b(1)<?b
(2),…,b(n-1)<?b(n), b(n)>?}. The resulting
list is one element longer than binsList.
Each element of the result corresponds to
the number of elements from List1 that
are in the range of that bin. Expressed in
terms of the countIf() function, the result is
{countIf(list, ?b(1)), countIf(list, b(1)<?b
(2)), …, countIf(list, b(n-1)<?b(n)), countIf
(list, b(n)>?)}.
Explanation of result:
2 elements from Datalist are 2.5
4 elements from Datalist are >2.5 and4.5
3 elements from Datalist are >4.5
The elementhello” is a string andcannot be
placed in any of the defined bins.
Alphabetical Listing 55
Loading ...
Loading ...
Loading ...