Calculation of the First-Order Derivative of the Explicit Preston Equation
DEPE
is used to calculate the first-order derivative of the explicit Preston equation at a given x-value.
UTF-8
DEPE(P, x, simpver = NULL)
P
: the parameters of the explicit Preston equation or one of its simplified versions.x
: the x-value used in the explicit Preston equation.simpver
: an optional argument to use the simplified version of the explicit Preston equation.When simpver = NULL
, the first-order derivative of the explicit Preston equation at a given x-value is selected:
where P
has five parameters: , , , , and .
When simpver = 1
, the first-order derivative of the simplified version 1 is selected:
where P
has four parameters: , , , and .
When simpver = 2
, the first-order derivative of the simplified version 2 is selected:
where P
has three parameters: , , and .
When simpver = 3
, the first-order derivative of the simplified version 3 is selected:
where P
has three parameters: , , and .
The argument P
in the DEPE
function has the same parameters, as those in the EPE
function.
Peijian Shi pjshi@njfu.edu.cn , Johan Gielis johan.gielis@uantwerpen.be , Brady K. Quinn Brady.Quinn@dfo-mpo.gc.ca .
Shi, P., Chen, L., Quinn, B.K., Yu, K., Miao, Q., Guo, X., Lian, M., Gielis, J., Niklas, K.J. (2023) A simple way to calculate the volume and surface area of avian eggs. Annals of the New York Academy of Sciences 1524, 118131. tools:::Rd_expr_doi("10.1111/nyas.15000")
EPE
, fitEPE
, SurfaceAreaEPE
Par3 <- c(4.27, 2.90, 0.0868, 0.0224, -0.0287) xx1 <- seq(-4.27, 4.27, by=0.001) f1 <- DEPE(P=Par3, x=xx1, simpver=NULL) f2 <- -DEPE(P=Par3, x=xx1, simpver=NULL) dev.new() plot(xx1, f1, type="l", col=4, cex.lab=1.5, cex.axis=1.5, xlim=c(-5, 5), ylim=c(-35, 35), xlab=expression(italic(x)), ylab=expression(paste(italic(f), "(", italic(x), ")", sep=""))) lines(xx1, f2, col=2) graphics.off()
Useful links