lightImage: Display Light Data as an Image

View source: R/TwGeos.R

lightImageR Documentation

Display Light Data as an Image

Description

Display light series as an image.

Usage

lightImage(tagdata, offset = 0, zlim = c(0, 64), dt = NA, xlab = "Date",
  ylab = "Hour", col = grey(seq(0, 1, length = 256)), ...)

Arguments

tagdata

a dataframe with columns Date and Light that are the sequence of sample times (as POSIXct) and light levels recorded by the tag.

offset

the offset for the vertical axis in hours.

zlim

the range of light levels to plot.

dt

the time interval to which the data are resampled (secs).

xlab

the x axis label.

ylab

the y axis label.

col

the colour palette

...

additional arguments to pass to image.

Details

The lightImage function displays sequence of light samples into 24 hour periods, packs these into the columns of a matrix and displays the result as an image.

This function is essentially a wrapper for tsimage.

Value

Returns the date and hour coordinates of the image grid.


slisovski/TwGeos documentation built on Jan. 27, 2024, 10:43 a.m.