package ocaml-r
Objective Caml bindings for the R interpreter
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-r-0.6.0.tbz
sha256=8ecea70a631896b4328c465028b628a6bcbbb7dbad8571df69c0297ff9a088ca
sha512=ac77d473ba35f98f2ea4034db3be514720d4dadae2e12692d4a846ab6ee03db66a24b846a0f1cd1a2b9cd674dd89c45a82b7d78e884cb3b36f17afff64ffe72c
doc/ocaml-r.math/OCamlR_math/index.html
Module OCamlR_math
Source
Access to the R math library.
Utilities
pow x y
is the exponentiation of base x
and power y
.
pow x n
is the exponentiation of base x
and integer power n
.
Random number generators
Random variates from the standard normal distribution.
Random variates from the uniform distribution, using * Marsaglia MultiCarry methodology for random number generation.
Random variates from the standard exponential distribution.
Normal distribution
dnorm ~mean:mu ~sd:sigma ~log:give_log x
computes the density of the normal distribution.
Uniform distribution
Gamma distribution
Beta distribution
Source
val pbeta :
?ncp:float ->
?lower_tail:bool ->
?logp:bool ->
a:float ->
b:float ->
float ->
float
Source
val qbeta :
?ncp:float ->
?lower_tail:bool ->
?logp:bool ->
a:float ->
b:float ->
float ->
float
Lognormal distribution
Source
val plnorm :
?meanlog:float ->
?sdlog:float ->
?lower_tail:bool ->
?logp:bool ->
float ->
float
Source
val qlnorm :
?meanlog:float ->
?sdlog:float ->
?lower_tail:bool ->
?logp:bool ->
float ->
float
Chi-squared distribution
F distribution
Source
val pf :
?ncp:float ->
?lower_tail:bool ->
?logp:bool ->
df1:float ->
df2:float ->
float ->
float
Source
val qf :
?ncp:float ->
?lower_tail:bool ->
?logp:bool ->
df1:float ->
df2:float ->
float ->
float
Student t distribution
Binomial distribution
Cauchy distribution
Source
val pcauchy :
?location:float ->
?scale:float ->
?lower_tail:bool ->
?logp:bool ->
float ->
float
Source
val qcauchy :
?location:float ->
?scale:float ->
?lower_tail:bool ->
?logp:bool ->
float ->
float
Exponential distribution
Geometric distribution
Hypergeometric distribution
Source
val phyper :
?lower_tail:bool ->
?logp:bool ->
m:float ->
n:float ->
k:float ->
float ->
float
Source
val qhyper :
?lower_tail:bool ->
?logp:bool ->
m:float ->
n:float ->
k:float ->
float ->
float
Negative binomial distribution
Poisson distribution
Weibull distribution
Source
val pweibull :
?scale:float ->
?lower_tail:bool ->
?logp:bool ->
shape:float ->
float ->
float
Source
val qweibull :
?scale:float ->
?lower_tail:bool ->
?logp:bool ->
shape:float ->
float ->
float
Logistic distribution
Source
val plogis :
?location:float ->
?scale:float ->
?lower_tail:bool ->
?logp:bool ->
float ->
float
Source
val qlogis :
?location:float ->
?scale:float ->
?lower_tail:bool ->
?logp:bool ->
float ->
float
Studentized Range distribution
Source
val ptukey :
?nranges:float ->
?lower_tail:bool ->
?logp:bool ->
nmeans:float ->
df:float ->
float ->
float
Source
val qtukey :
?nranges:float ->
?lower_tail:bool ->
?logp:bool ->
nmeans:float ->
df:float ->
float ->
float
Wilcoxon Rank Sum distribution
Wilcoxon Sign Rank distribution
Gamma and related functions
Bessel functions
General support functions
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
- Utilities
- Random number generators
- Normal distribution
- Uniform distribution
- Gamma distribution
- Beta distribution
- Lognormal distribution
- Chi-squared distribution
- F distribution
- Student t distribution
- Binomial distribution
- Cauchy distribution
- Exponential distribution
- Geometric distribution
- Hypergeometric distribution
- Negative binomial distribution
- Poisson distribution
- Weibull distribution
- Logistic distribution
- Studentized Range distribution
- Wilcoxon Rank Sum distribution
- Wilcoxon Sign Rank distribution
- Gamma and related functions
- Bessel functions
- General support functions