1.2.3-SNAPSHOT permalink Arrow_down_16x16
  • (nrow 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:113 top

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

Comments top

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