interp.a | R Documentation |
Linear interpolation
interp.a(xs, ys)
xs |
Vector number of size 3 |
ys |
Vector number of size 3, with first position empty or NA |
Linear interpolation for three data of x and y only works if the first y is missing.
Output description (simple).
Christian Salas.
x<-c(1,2,3)
y<-c(NA,4,6)
interp.a(x,y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.