Are you looking to just get counts of each of these variables? Histograms are used for interval data, so jStat only supports generating histograms from numbers.
I assume you're looking at an array of academic grades; maybe convert the array to GPA points first?
-james
On Thursday, March 3, 2016 at 7:41:31 AM UTC-5, Fernando Andrade wrote:
> How to create a histogram with no numeric attributes?
> Example:
>
> var studentSymbols = ["F", "E", "D", "C", "C", "C", "C", "B", "B", "A", "A+"];
> var histogram = jStat.histogram(studentSymbols);
> // return [0, 0, 0, 0]