1.2.3-SNAPSHOT Arrow_down_16x16
  • (ncol mat)

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:123 top

(defn ncol
  ^{:tag Integer 
     :doc " Returns the number of columns in the given matrix. Equivalent to R's ncol function."}
    (matrix? mat) (.columns ^Matrix mat)
    (dataset? mat) (count (:column-names mat))
    (coll? mat) 1 )))
Vars in incanter.core/ncol: coll? cond count defn
Used in 0 other vars

Comments top

No comments for ncol. Log in to add a comment.