Description Usage Arguments Value Author(s) See Also Examples
View source: R/torpidEnergy_fun.R
torpidEnergry
Function calculating the enegry required for a
bout of torpor at a ambient temperature
1 | torporEnergy(Ta, bat.params, WNS, areaPd, q = calcQ(Ta))
|
Ta |
ambient emperature |
bat.params |
list of bat parameters output from |
q |
Q10 scaling value |
energy expended in volume O^2mL/h/g)
Katie Haase
ewl
,
Other Torpor Functions: ewl
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")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.