midpointCE | R Documentation |
This function calculates the timing corresponding to half of the cumulative light exposure within the given time series.
midpointCE(lightVar, timeVar, as_df = TRUE)
lightVar |
Numeric vector containing the light data. Missing values are replaced with 0. |
timeVar |
Vector containing the time data. Can be POSIXct or numeric. |
as_df |
Logical. Should the output be returned as a data frame? Defaults to TRUE. |
Single column data frame or vector.
Shochat, T., Santhi, N., Herer, P., Flavell, S. A., Skeldon, A. C., & Dijk, D.-J. (2019). Sleep Timing in Late Autumn and Late Spring Associates With Light Exposure Rather Than Sun Time in College Students. Frontiers in Neuroscience, 13. https://doi.org/10.3389/fnins.2019.00882
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.