Skip to contents

[Experimental] This function will make light shading pattern for ggplot plots

Usage

make_lights(params, df)

Arguments

params

A list that contains a lights vector with the ON-OFF light cycle

df

A data.frame containing a datetime column that will provide the ranges of the experimental data