Skip to contents

Format light data into a matrix

Usage

light2mat(light, twl_offset = 0)

Arguments

light

data.frame of a tag, containing at least date and value.

twl_offset

Shift of the middle of the night compared to 00:00 UTC (in hours). If not provided, it uses the middle of all nights.

Value

A data.frame with columns date and value.