AUCextentFit: Non-linear model fitting for extracting an index of the...

Description Usage Arguments Details Value Author(s) References

Description

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.

Usage

1
AUCextentFit(testmat, extents, diagrams = FALSE)

Arguments

testmat

Matrix. Data in each row is fitted separatelly.

extents

Vector of increasing values that is fitted to each row in testmat.

diagrams

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

Details

This function is internally used by function mopaTrain, to fit AUC scores to the background extents at which were obtained (see reference below).

Value

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.

Author(s)

M. Iturbide

References

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.


mopa documentation built on May 2, 2019, 6:47 a.m.

Related to AUCextentFit in mopa...