Description Usage Arguments Value Author(s) See Also Examples
View source: R/RealRandVariable.R
Generates an object of class "RealRandVariable"
.
1 |
Map |
list of functions forming the map. |
Domain |
domain of |
Range |
range of |
Object of class "RealRandVariable"
Matthias Kohl Matthias.Kohl@stamats.de
1 2 3 4 5 6 7 8 9 10 11 | RealRandVariable(Map = list(function(x){x}), Domain = Reals())
## The function is currently defined as
function(Map = list(function(x){1}), Domain = NULL, Range) {
if(missing(Range)) Range <- Reals()
if(!is(Range, "Reals"))
stop("'Range' has to be of class 'Reals'")
return(new("RealRandVariable", Map = Map,
Domain = Domain, Range = Reals()))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.