| print.disc | R Documentation |
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.
## S3 method for class 'disc'
print(x, ...)
x |
an object of class |
... |
arguments passed on to function |
Yong Wang <yongwang@auckland.ac.nz>
cnm, cnmms.
(d = disc(pt=c(0,4), pr=c(0.3,0.7)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.