| ReferenceMeasureUniform | R Documentation |
create the ReferenceMeasureUniform class
ReferenceMeasureUniform(
a = 0,
b = 1,
sample = makeUnifGrid(2^12, a, b),
seed = NULL
)
a |
the minimum of the domain interval |
b |
the maximum of the domain interval |
sample |
the sample to be used for internal computations (use with care) |
seed |
optional integer. If given, the Monte Carlo sample is
drawn under this seed and the state of the random number
generator is restored afterwards (the same convention as
|
a 'ReferenceMeasureUniform class'
[BData]
Other ReferenceMeasures:
B2N01,
ReferenceMeasureDiscrete(),
ReferenceMeasureTransformed(),
StdReferenceMeasureUnif01,
expectation(),
getSample(),
isInDomain()
min <- -5
max <- 5
RMU <- ReferenceMeasureUniform(min,max)
RMU
## reproducible construction, RNG state left untouched:
RMU1 <- ReferenceMeasureUniform(0, 1, seed = 20260702)
RMU2 <- ReferenceMeasureUniform(0, 1, seed = 20260702)
identical(RMU1$sample, RMU2$sample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.