| lightImage | R Documentation |
Display light series as an image.
lightImage(tagdata, offset = 0, zlim = c(0, 64), dt = NA, xlab = "Date",
ylab = "Hour", col = grey(seq(0, 1, length = 256)), ...)
tagdata |
a dataframe with columns |
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. |
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.
Returns the date and hour coordinates of the image grid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.