package ocaml-r

  1. Overview
  2. Docs

Module OCamlR_statsSource

Runtime R statistics library.

Sourceval formula : string -> OCamlR_base.Formula.t
Sourcemodule Ecdf : sig ... end

Random number generation

Sourceval 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

Sourcemodule type Test = sig ... end

Common interface for test results

Sourcemodule T'test : sig ... end

Student's T test

Sourcemodule Fisher'test : sig ... end

Fisher's exact test for independence

Sourcemodule Chisq'test : sig ... end

Chi-squared test for independence

Sourcemodule Ks'test : sig ... end

Kolmogorov-Smirnov test

Sourceval p'adjust : ?method_:[ `holm | `hochberg | `hommel | `bonferroni | `BH | `BY | `fdr ] -> OCamlR_base.Numeric.t -> OCamlR_base.Numeric.t
Sourceval 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.