TE is used to calculate y values at given x values using the re-expression of Troscianko's egg-shape equation, which was proposed by Biggins et al. (2018, 2022).
UTF-8
TE(P, x)
Arguments
P: the parameters of the Troscianko equation, including α0, α1, and α2.
x: the given x values ranging from −1 to 1.
Details
The Troscianko equation is recommended as (Biggins et al., 2022):
y=exp(α0+α1x+α2x2)1−x2,
where x and y represent the abscissa and ordinate of an arbitrary point on the Troscianko curve; α0, α1, and α2 are parameters to be estimated.
Returns
The y values predicted by the Troscianko equation.
Note
Here, x and y in the Troscianko equation are actually equal to y/a
and x/a, respectively, in the explicit Troscianko equation, where a
represents half the egg length (See ETE for details). This means that the egg length is scaled to be 2, and the maximum egg width is correspondingly adjusted to keep the same scale.
Biggins, J.D., Thompson, J.E., Birkhead, T.R. (2018) Accurately quantifying the shape of birds' eggs. Ecology and Evolution 8, 9728−9738. tools:::Rd_expr_doi("10.1002/ece3.4412")
Nelder, J.A., Mead, R. (1965). A simplex method for function minimization. Computer Journal 7, 308−313. tools:::Rd_expr_doi("10.1093/comjnl/7.4.308")
Shi, P., Gielis, J., Quinn, B.K., Niklas, K.J., Ratkowsky, D.A., Schrader, J., Ruan, H., Wang, L., Niinemets, Ü. (2022) 'biogeom': An R package for simulating and fitting natural shapes. Annals of the New York Academy of Sciences 1516, 123−134. tools:::Rd_expr_doi("10.1111/nyas.14862")
Shi, P., Wang, L., Quinn, B.K., Gielis, J. (2023) A new program to estimate the parameters of Preston's equation, a general formula for describing the egg shape of birds. Symmetry
Troscianko, J. (2014). A simple tool for calculating egg shape, volume and surface area from digital images. Ibis, 156, 874−878. tools:::Rd_expr_doi("10.1111/ibi.12177")