Brown_rec | R Documentation |
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.
Brown_rec(
state,
Brown.day = "day",
Brown.evening = "evening",
Brown.night = "night",
Brown.day.th = 250,
Brown.evening.th = 10,
Brown.night.th = 1
)
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 ( |
A dataframe with the same length as state
that contains the
recommended illuminance/MEDI levels.
https://journals.plos.org/plosbiology/article?id=10.1371/journal.pbio.3001571
Other Brown:
Brown2reference()
,
Brown_check()
,
sleep_int2Brown()
states <- c("day", "evening", "night")
Brown_rec(states)
Brown_rec(states, Brown.day.th = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.