op.body.temp: Calculates operative body temperature

Description Usage Arguments Value Author(s) Examples

Description

Calculates operative body temperature

Usage

1
op.body.temp(biophys.inputs)

Arguments

biophys.inputs

Object created from running biophys.prep

Value

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

Author(s)

Bill Peterman <Bill.Peterman@gmail.com>

Examples

 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)

wpeterman/biophys documentation built on May 4, 2019, 9:48 a.m.