edu.ucla.stat.SOCR.util
Class Frequency
java.lang.Object
edu.ucla.stat.SOCR.util.Frequency
public class Frequency
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Frequency
public Frequency(double[] data)
add
public void add(double newMember)
getMap
public java.util.HashMap<java.lang.String,java.lang.Integer> getMap()
getSet
public java.util.HashSet<java.lang.String> getSet()
getFreqSize
public int getFreqSize()
getFreqArray
public int[] getFreqArray()
getRelFreqArray
public int[] getRelFreqArray()
getFrequency
public int getFrequency(double input)
computeFrequency
public void computeFrequency()
printData
public void printData()
getMaxRelFreq
public double getMaxRelFreq()
main
public static void main(java.lang.String[] args)