fh_bounds {faux} | R Documentation |
Get Fréchet-Hoefding bounds
Description
Fréchet-Hoefding bounds are the limits to a correlation between different distributions.
Usage
fh_bounds(dist1 = "norm", dist2 = "norm", params1 = list(), params2 = list())
Arguments
dist1 |
The target distribution function for variable 1 (e.g., norm, binom, gamma, truncnorm) |
dist2 |
The target distribution function for variable 2 |
params1 |
Arguments to pass to the rdist function for distribution 1 |
params2 |
Arguments to pass to the rdist function for distribution 2 |
Value
a list of the min and max possible values
Examples
fh_bounds(dist1 = "pois",
dist2 = "unif",
params1 = list(lambda = 3),
params2 = list(min = 0, max = 100))
[Package faux version 1.2.1 Index]