Generates an object of class "DiscreteDistribution"
1 2 3 4 5 6 7  EmpiricalDistribution(data, .withArith=FALSE, .withSim=FALSE,
.lowerExact = TRUE, .logExact = FALSE,
.DistrCollapse = getdistrOption("DistrCollapse"),
.DistrCollapse.Unique.Warn =
getdistrOption("DistrCollapse.Unique.Warn"),
.DistrResolution = getdistrOption("DistrResolution"),
Symmetry = NoSymmetry())

data 
numeric vector with data. 
.withArith 
normally not set by the user, but if determining the entries 
.withSim 
normally not set by the user, but if determining the entries 
.lowerExact 
normally not set by the user: whether the 
.logExact 
normally not set by the user: whether in determining slots 
.DistrCollapse 
controls whether in generating a new discrete
distribution, support points closer together than 
.DistrCollapse.Unique.Warn 
controls whether there is a warning
whenever collapsing occurs or when two points are collapsed by a call to

.DistrResolution 
minimal spacing between two mass points in a discrete distribution 
Symmetry 
you may help R in calculations if you tell it whether
the distribution is nonsymmetric (default) or symmetric with respect
to a center; in this case use 
The function is a simple utility function providing a wrapper to the
generating function DiscreteDistribution
.
Typical usage is
1 2 
Object of class "DiscreteDistribution"
Matthias Kohl Matthias.Kohl@stamats.de
DiscreteDistribution
DiscreteDistributionclass
1 2 3 4 5  x < rnorm(20)
D1 < EmpiricalDistribution(data = x)
D1
plot(D1)

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.