Mode and other functions

I’m creating a random list of numbers and want CL to compute the mean, median, and mode. I have the code figured out for mean and median, but what do I use for mode? Also, is there a list of these functions somewhere to know what is available?

I don’t believe there is a built-in function for mode. Here is a function that I had saved that will find the mode of a list of numbers, but it uses the graphing calculator. You could use a hidden graph component to calculate this, and then you could also use that same graph to calculate the mean and median too.

1 Like

How did you do this?! Like how does it work? This is incredible.