Is there a slick way to rewrite this Julia function, perhaps using just 1 line of code, without making it much slower? (I just started using Julia. It\'s great!) K
K
Here http://statsbasejl.readthedocs.org/en/latest/counts.html#countmap
countmap(x[, wv]) Return a dictionary that maps distinct values in x to their counts (or total weights).