Description Usage Arguments Value Author(s) Examples
Calculates operative body temperature
1 | op.body.temp(biophys.inputs)
|
biophys.inputs |
Object created from running |
By default, this function will return a list of hourly operative body temperatures for each raster pixel. Additionally, calculated parameters needed for subsequent functions are also saved. The list object generated by this function is formatted for input into active.evap
Bill Peterman <Bill.Peterman@gmail.com>
1 2 3 4 5 6 7 8 9 10 11 12 13 | # Create example data
r.max <- raster(ncol=10, nrow=10)
# assign values to cells
r.max[] <- runif(ncell(r.max),10,20)
r.min <- r.max - 5
r.elev <- r.max * 10
# Make vector of hours
night.hours <- c(19:24,1:7)
biophys.input <- biophys.prep(r.max, r.min, r.elev, hour = night.hours, month = c("April"), Julian = c(106))
temp.data <- op.body.temp(biophys.input)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.