Last chance! 50% off unlimited learning
Sale ends in
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."Reals"
, directly.
Class "EuclideanSpace"
, by class "Reals"
.
Class "rSpace"
, by class "Reals"
.Reals-class
DiscreteDistribution-class
N=new("Naturals")
liesIn(N,1) # TRUE
liesIn(N,c(0,1)) # FALSE
liesIn(N,0.1) # FALSE
Run the code above in your browser using DataLab