Description Usage Arguments Value Author(s) See Also Examples
The distribution
function is a generic S4 method for creating a Distribution
object.
1 | distribution(x, precision = .Machine$double.eps, p.estimator = NA)
|
x |
A R object, see |
precision |
A single numeric value. To be valid a |
p.estimator |
Used only when |
A Distribution
object.
Emmanuel Rousseaux
Distribution
, distribution.comparable
, distribution.reorder
.
1 2 3 4 5 6 7 8 9 10 11 12 | distribution(c(0.2,0.8))
data(iris)
distribution(iris$Species)
distribution(
wvc(iris$Species, weights=c(rep(1,50), rep(0,100))),
p.estimator = NA
)
distribution(
wvc(iris$Species, weights=c(rep(1,50), rep(0,100))),
p.estimator = p.estimator.laplace
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.