Created
January 12, 2017 19:30
-
-
Save taeold/1220e6374cd8138ac3ec98975912bbde to your computer and use it in GitHub Desktop.
for me of course
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(for [c clusters | |
:let [cluster-by-years (apply map vector c)]] | |
(for [cluster-year cluster-by-years | |
:let [cluster-year (remove nil? cluster-year)]] | |
;; median function here | |
(apply + cluster-year))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment