interp.b: Linear interpolation for three data of x and y only works if...

View source: R/interp.b.r

interp.bR Documentation

Linear interpolation for three data of x and y only works if the second y is missing.

Description

Linear interpolation

Usage

interp.b(xs, ys)

Arguments

xs

Vector number of size 3

ys

Vector number of size 3, with second position empty or NA

Details

Linear interpolation for three data of x and y only works if the second y is missing.

Value

Output description (simple).

Author(s)

Christian Salas.

Examples

x<-c(1,2,3)
y<-c(4,NA,6)
interp.b(x,y)

biometrics documentation built on April 4, 2025, 12:35 a.m.