mkCalibration | R Documentation |
Using a set of light level data from a known location create a calibration function to return the expected light level given solar elevation.
mkCalibration(x, known = NULL, elim = c(-36, 12), choose = TRUE)
x |
a data frame containing at least |
known |
a known position - as a 2-element |
elim |
a 2-element vector of the range of solar elevation to define |
choose |
logical - choose segments from a plot or use all the data? |
It is assumed that the data frame x
has columns "gmt" with POSIXct
date-times and "light" with numeric light level data.
A function, defined by approxfun
.
Michael D. Sumner
approxfun
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.