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

View source: R/interp.a.r

interp.aR Documentation

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

Description

Linear interpolation

Usage

interp.a(xs, ys)

Arguments

xs

Vector number of size 3

ys

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

Details

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

Value

Output description (simple).

Author(s)

Christian Salas.

Examples

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

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