Brown_rec {LightLogR} | R Documentation |
Set the recommended illuminance/MEDI levels by Brown et al. (2022)
Description
This is a lower level function. It sets the recommended illuminance/MEDI levels by Brown et al. (2022) for a given state. The function is vectorized.
Usage
Brown_rec(
state,
Brown.day = "day",
Brown.evening = "evening",
Brown.night = "night",
Brown.day.th = 250,
Brown.evening.th = 10,
Brown.night.th = 1
)
Arguments
state |
The state from Brown et al. (2022). Needs to be a character vector. |
Brown.day , Brown.evening , Brown.night |
The names of the states from Brown
et al. (2022). These are the default values ( |
Brown.day.th , Brown.evening.th , Brown.night.th |
The thresholds for the
states from Brown et al. (2022). These are the default values ( |
Value
A dataframe with the same length as state
that contains the
recommended illuminance/MEDI levels.
References
https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3001571
See Also
Other Brown:
Brown2reference()
,
Brown_check()
,
sleep_int2Brown()
Examples
states <- c("day", "evening", "night")
Brown_rec(states)
Brown_rec(states, Brown.day.th = 100)