NLSstClosestX Inverse Interpolation
Description
Use inverse linear interpolation to approximate the x value at which the function represented by xy is equal to yval.
Usage
NLSstClosestX(xy, yval)
Arguments
xy | a |
yval | a numeric value on the |
Value
A single numeric value on the x scale.
Author(s)
José Pinheiro and Douglas Bates
See Also
sortedXyData, NLSstLfAsymptote, NLSstRtAsymptote, selfStart
Examples
DNase.2 <- DNase[ DNase$Run == "2", ] DN.srt <- sortedXyData(expression(log(conc)), expression(density), DNase.2) NLSstClosestX(DN.srt, 1.0)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.