1.2.3-SNAPSHOT permalink Arrow_down_16x16

to-levels

incanter.core

  • (to-levels coll & options)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source incanter/core.clj:2147 top

(defn to-levels
"
"
  ([coll & options]
    (let [opts (when options (apply assoc {} options))
          cat-var (or (:categorical-var opts) (categorical-var :data coll))
          to-levels (:to-levels cat-var)]
      (for [label coll] (to-levels label)))))
Vars in incanter.core/to-levels: defn for let
Used in 0 other vars

Comments top

No comments for to-levels. Log in to add a comment.