Learn R Programming

biometrics (version 1.0.1)

interp.b: 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)

Value

Output description (simple).

Arguments

xs

Vector number of size 3

ys

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

Author

Christian Salas.

Details

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

Examples

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

Run the code above in your browser using DataLab