The distribution-classes contain a slot where the sample space is stored. Typically, discrete random variables take naturals as values.
Objects from the Class
Objects could theoretically be created by calls of the form
new("Naturals", dimension, name).
Usually an object of this class is not needed on its own. It is generated automatically when a univariate discrete
distribution is instantiated.
"EuclideanSpace", by class
"rSpace", by class
N=new("Naturals") liesIn(N,1) # TRUE liesIn(N,c(0,1)) # FALSE liesIn(N,0.1) # FALSE