package ocaml-r

  1. Overview
  2. Docs

Runtime R base library.

val inherits : OCamlR.Sexp.t -> string -> bool
module Environment : sig ... end
module type Matrix = sig ... end
module type Vector = sig ... end
module Numeric : Vector with type repr := float
module Logical : Vector with type repr := bool
module Integer : Vector with type repr := int
module Character : Vector with type repr := string
module Factor : sig ... end
type matrix = [
  1. | `Numeric of Numeric.Matrix.t
  2. | `Logical of Logical.Matrix.t
  3. | `Integer of Integer.Matrix.t
  4. | `Factor of Factor.Matrix.t
  5. | `Character of Character.Matrix.t
]
module List_ : sig ... end
module Dataframe : sig ... end
module Formula : sig ... end
val sample : ?replace:bool -> ?prob:float array -> size:int -> float array -> float array
val readRDS : string -> OCamlR.Sexp.t
val saveRDS : ?ascii:bool -> ?compress:bool -> file:string -> OCamlR.Sexp.t -> unit
val table : (module Vector with type t = 'a) -> 'a -> Integer.t