State Frequency
Parameters
the number of states to observe
Properties
Returns a copy of the cells in a list ordered by the value of each cell, 0th element is cell with the smallest value, etc
Returns an array of size getNumberOfCells() containing the frequencies by value
Returns the number of cells tabulated This is also the total number of different integers observed
Returns an array of size getNumberOfCells() containing the proportion by value
The total count associated with the values
Returns Map holding the values and cumulative proportions as arrays with keys "values" and "cumulativeProportions"
Returns Map holding the values and frequencies as arrays with keys "values" and "frequencies"
Returns Map holding the values and proportions as arrays with keys "values" and "proportions"
Functions
Returns the cumulative frequency up to an including i
Returns the cumulative proportion up to an including i
Interprets the elements of x[] as values and returns an array representing the frequency for each value
Creates a plot for the state frequencies. The parameter, proportions indicates whether proportions (true) or frequencies (false) will be shown on the plot. The default is false.
Gets the proportion of the observations that are equal to the supplied integer