Description Usage Arguments Details Value Author(s) References

Given a matrix extracts an index of the extents at which the AUC (or other test statistic) overcomes the Vm coefficient obtained from the non-linear model fitting. Non-linear asymptotic functions are tested: Michaelis-Menten, 3-parameter asymptotic exponential (exponential 3) and 2-parameter asymptotic exponential (exponential 2). For details about these functions, see the "non-linear regression" section of THE R BOOK by Michael J. Crawley.

1 | ```
AUCextentFit(testmat, extents, diagrams = FALSE)
``` |

`testmat` |
Matrix. Data in each row is fitted separatelly. |

`extents` |
Vector of increasing values that is fitted to each row in |

`diagrams` |
Logical (default is FALSE). If TRUE diagrams of the fitted models are returned. |

This function is internally used by function `mopaTrain`

, to fit AUC
scores to the background extents at which were obtained (see reference below).

Named integer. Index of the minimum value in `extents`

at which the data in `testmat`

is above the asymptote. The residual sum of squares is printed in the console and
the index corresponding to the best nls fit is returned.

M. Iturbide

Iturbide, M., Bedia, J., Herrera, S., del Hierro, O., Pinto, M., Gutierrez, J.M., 2015. A framework for species distribution modelling with improved pseudo-absence generation. Ecological Modelling. DOI:10.1016/j.ecolmodel.2015.05.018.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.