torporEnergy: Calculate energy per time at toprid body temp given ambient...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/torpidEnergy_fun.R

Description

torpidEnergry Function calculating the enegry required for a bout of torpor at a ambient temperature

Usage

1
torporEnergy(Ta, bat.params, WNS, areaPd, q = calcQ(Ta))

Arguments

Ta

ambient emperature

bat.params

list of bat parameters output from batLoad

q

Q10 scaling value

Value

energy expended in volume O^2mL/h/g)

Author(s)

Katie Haase

See Also

ewl,

Other Torpor Functions: ewl

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##CalcEnergyTimeTorpid Example
data("mylu.params")

e <- -10:34 #temperature vector
a <- seq(from = .001, to = 3, length.out = 45) #area vector

r <- torporEnergy(Ta = e, WNS = F, areaPd = 0, bat.params = mylu.params)
r1 <- torporEnergy(Ta = rep(4,45), areaPd = a, WNS = T, bat.params = mylu.params)
plot(e, r, xlab = "Temp (C)", ylab = "Energy Expended",
     main = "torporEnergy")
plot(a, r1, xlab = "Area Infected (cm2^)", ylab = "Energy Expended",
     main = "torporEnergy")

cReedHranac/batwintor documentation built on Jan. 27, 2020, 7:39 p.m.