Description Usage Arguments Value
The quasibinomial models created by fit_models()
produce
estimates in the range [0, 1], but brightness and color temperature are in
the ranges [1, 254] and [153, 500], respectively. The following functions
are provided to help convert to and from the model scale.
1 2 3 4 5 6 7 | scale_bri(bri)
unscale_bri(bri)
scale_ct(ct)
unscale_ct(ct)
|
bri |
the brightness value to scale or unscale |
ct |
the color temperature value to scale or unscale |
Returns scaled (i.e. [0, 1]) values or unscaled (brightness in [1, 254]; color temperature in [153, 500]) values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.