lqi: Light Quality Index

View source: R/lqi.R

lqiR Documentation

Light Quality Index

Description

This function calculates the light quality index as described in Martinez-Nicolas et al. (2011).

Usage

lqi(lightVar, upper = 500, lower = 10, as_df = TRUE)

Arguments

lightVar

Numeric vector containing the light data.

upper

Single numeric value specifying the threshold of the bright light level. Defaults to 500 lx as described in Martinez-Nicolas et al. (2011).

lower

Single numeric value specifying the threshold of the dark light level. Defaults to 10 lx as described in Martinez-Nicolas et al. (2011).

as_df

Logical. Should the output be returned as a data frame? Defaults to TRUE.

Details

Should be calculated for the period from waking up to going to bed. Default threshold values are provided in photopic illuminance as per the original paper. To calculate the original metric make sure that 'lightVar' is photopic illuminance.

Value

Data frame or numeric vector.

References

Martinez-Nicolas, A., Ortiz-Tudela, E., Madrid, J. A., & Rol, M. A. (2011). Crosstalk Between Environmental Light and Internal Time in Humans. Chronobiology International, 28(7), 617–629. https://doi.org/10.3109/07420528.2011.593278


steffenhartmeyer/lightdosimetry documentation built on Jan. 29, 2024, 12:48 p.m.