Description Usage Arguments Details Value Author(s) Examples
These functions set the mass, discount, and temperature parameters and, in the case of them being random, specify the parameters of their distribution.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
... |
A number greater than |
fixed |
If |
x |
An object from the |
If no parameters are specified, the mass parameter defaults to 1.2,
the discount parameter defaults to 0.05, the temperature parameter
defaults to 3.0. If the mass parameter is random, the default shape
and rate parameters of the gamma distribution are 2.5 and 2,
respectively. If the discount parameter is random, the default shape
parameters of the beta distribution are 1.0 and 1.0. If the
temperature parameter is random, the default shape and rate parameters of
the gamma distribution are 2 and 0.5, respectively.
An object of class shallot.mass, shallot.discount, or
shallot.temperature.
David B. Dahl dahl@stat.byu.edu
1 2 3 4 5 6 7 8 9 10 | mass()
mass(1.0)
mass(1.4, fixed=FALSE)
mass(0.5, 1, fixed=FALSE)
discount()
discount(0.2)
discount(1, 3, fixed=FALSE)
temperature()
temperature(2)
temperature(2, 4, fixed=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.