

   NLSstClosestX {nls}                          R Documentation

   IInnvveerrssee IInntteerrppoollaattiioonn

   DDeessccrriippttiioonn::

        Use inverse linear interpolation to approximate the `x'
        value at which the function represented by `xy' is
        equal to `yval'.

   UUssaaggee::

        NLSstClosestX(xy, yval)

   AArrgguummeennttss::

         xy: a `sortedXyData' object

       yval: a numeric value on the `y' scale

   VVaalluuee::

        A single numeric value on the `x' scale.

   AAuutthhoorr((ss))::

        Jose Pinheiro and Douglas Bates

   SSeeee AAllssoo::

        `sortedXyData', `NLSstLfAsymptote', `NLSstRtAsymptote',
        `selfStart'

   EExxaammpplleess::

        library( nls )
        data( DNase )
        DNase.2 <- DNase[ DNase$Run == "2", ]
        DN.srt <- sortedXyData( expression(log(conc)), expression(density), DNase.2 )
        NLSstClosestX( DN.srt, 1.0 )

