Learn R Programming

bspec (version 1.6)

temperature: Querying the tempering parameter

Description

Retrieving the “temperature” parameter of (‘tempered’) bspec objects

Usage

temperature(x, ...)
  # S3 method for bspec
temperature(x, ...)

Arguments

x

a bspec object.

...

currently unused.

Value

The (numeric) value of the temperature element of the supplied bspec object, if present, and 1 otherwise.

References

Roever, C. Bayesian inference on astrophysical binary inspirals based on gravitational-wave measurements. PhD thesis, Department of Statistics, The University of Auckland, New Zealand, 2007.

See Also

temper, bspec

Examples

Run this code
# NOT RUN {
lhspec1 <- bspec(lh)
lhspec2 <- temper(lhspec1, 1.23)

print(lhspec2$temperature)
print(lhspec1$temperature)

print(temperature(lhspec2))
print(temperature(lhspec1))
# }

Run the code above in your browser using DataLab