print.disc {nspmix} | R Documentation |
Prints a discrete distribution function
Description
Class disc
is used to represent an arbitrary
univariate discrete distribution with a finite number of support
points.
Function disc
creates an object of class disc
, given
the support points and probability values at these points.
Function print.disc
prints the discrete distribution.
Usage
## S3 method for class 'disc'
print(x, ...)
Arguments
x |
an object of class |
... |
arguments passed on to function |
Author(s)
Yong Wang <yongwang@auckland.ac.nz>
See Also
Examples
(d = disc(pt=c(0,4), pr=c(0.3,0.7)))
[Package nspmix version 2.0-0 Index]