package ocaml-r

  1. Overview
  2. Docs
include module type of List_
include OCamlR.SXP
type t
val equal : t -> t -> bool
val is_function : t -> bool
val attr : t -> string -> OCamlR.sexp
val _class_ : t -> string list
val nil_map : t -> f:(t -> 'a) -> 'a option
val print : t -> unit
val unsafe_of_sexp : OCamlR.sexp -> t
val to_sexp : t -> OCamlR.sexp
val as_vecsxp : t -> OCamlR.Vecsxp.t
val subset2 : t -> string -> 'a OCamlR.Dec.t -> 'a option
val subset2_i : t -> int -> 'a OCamlR.Dec.t -> 'a option
val subset2_exn : t -> string -> 'a OCamlR.Dec.t -> 'a
val subset2_i_exn : t -> int -> 'a OCamlR.Dec.t -> 'a
val of_env : Environment.t -> string -> t option
val dim : t -> int * int
val as_list : t -> List_.t
type column = [
  1. | `Numeric of Numeric.t
  2. | `Integer of Integer.t
  3. | `Logical of Logical.t
  4. | `Character of Character.t
  5. | `Factor of Factor.t
]
val create : (string * column) list -> t
val rbind : t -> t -> t
val cbind : t -> t -> t
val get_row : t -> int -> t
val get_col : t -> int -> column
val as'matrix : t -> matrix
OCaml

Innovation. Community. Security.