Takes a dataset or matrix and returns a hash-map where the keys are
keyword versions of the column names, for datasets, or numbers, for
matrices, and the values are sequence of the column values.
Examples:
(use '(incanter core datasets))
(to-map (get-dataset :cars))
(to-map (matrix (range 9) 3))
Comments top
No comments for to-map. Log in to add a comment.