Skip to Content

NLSstClosestX {stats}

Inverse Interpolation
Package: 
stats
Version: 
R 3.0.1

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 sortedXyData object
yval
a numeric value on the y scale

Values

A single numeric value on the x scale.

Examples

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

Author(s)

JoseTEXT Pinheiro and Douglas Bates

Documentation reproduced from R 3.0.1. License: GPL-2.