NRGE is used to calculate y values at given x values using the Narushin-Romanov-Griffin equation (NRGE).
UTF-8
NRGE(P, x)
Arguments
P: the four parameters (i.e., A, B, C, and D) of the Narushin-Romanov-Griffin equation.
x: the given x values.
Details
The Narushin-Romanov-Griffin equation (Narushin et al., 2021) has four parameters in total, among which three parameters have clear geometric meanings.
Here, f(x) is the Narushin-Romanov-Griffin equation, which is used to predict the y coordinates at the given x coordinates; A represents the egg's length; B represents the egg's maximum breadth; C is a parameter to be estimated, and it can be expressed as (A−B)/(2q), where q is a parameter to be estimated; D represents the egg's breadth associated with (3/4)L from the egg base (to the egg tip) on the egg length axis (which can be regarded as the major axis of the egg shape).
Returns
The y values predicted by the Narushin-Romanov-Griffin equation.
Note
Here, parameter C is a parameter to be estimated, which can be directly calculated numerically based on the egg-shape data.
References
Narushin, V.G., Romanov, M.N., Griffin, D.K. (2021) Egg and math: introducing a universal formula for egg shape. Annals of the New York Academy of Sciences 1505, 169−177. tools:::Rd_expr_doi("10.1111/nyas.14680")
Shi, P., Gielis, J., Niklas, K.J. (2022) Comparison of a universal (but complex) model for avian egg shape with a simpler model. Annals of the New York Academy of Sciences 1514, 34−42. tools:::Rd_expr_doi("10.1111/nyas.14799")
Tian, F., Wang, Y., Sandhu, H.S., Gielis, J., Shi, P. (2020) Comparison of seed morphology of two ginkgo cultivars. Journal of Forestry Research 31, 751−758. tools:::Rd_expr_doi("10.1007/s11676-018-0770-y")