scale: Scale and unscale brightness and color temperature

Description Usage Arguments Value

Description

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.

Usage

1
2
3
4
5
6
7

Arguments

bri

the brightness value to scale or unscale

ct

the color temperature value to scale or unscale

Value

Returns scaled (i.e. [0, 1]) values or unscaled (brightness in [1, 254]; color temperature in [153, 500]) values.


fascinatingfingers/zeitgebeR documentation built on Oct. 25, 2019, 4:50 p.m.