package ocaml-r

  1. Overview
  2. Docs

Runtime R statistics library.

val formula : string -> OCamlR_base.Formula.t
module Ecdf : sig ... end

Random number generation

val rnorm : ?mean:float -> ?sd:float -> int -> OCamlR_base.Numeric.t

Random generation for the normal distribution. mean and sd default to 0. and 1. respectively.

Tests

module type Test = sig ... end

Common interface for test results

module T'test : sig ... end

Student's T test

module Fisher'test : sig ... end

Fisher's exact test for independence

module Chisq'test : sig ... end

Chi-squared test for independence

module Ks'test : sig ... end

Kolmogorov-Smirnov test

val p'adjust : ?method_:[ `holm | `hochberg | `hommel | `bonferroni | `BH | `BY | `fdr ] -> OCamlR_base.Numeric.t -> OCamlR_base.Numeric.t
val qqplot : ?main:string -> ?xlab:string -> ?ylab:string -> ?plot_type:OCamlR_graphics.plot_type -> ?lwd:int -> ?col:string -> float array -> float array -> unit
OCaml

Innovation. Community. Security.