Description Usage Arguments Value Examples
View source: R/funcs_interps.R
A wrapper of diff.1D function, returning the mean values of concentration during each time step of the diffusion.
1 | vectInterp(vect1, vect2, dist)
|
vect1 |
First vector variable. |
vect2 |
Second vector variable. |
dist |
Desired interpolation value of distance between the two vectors. |
A vector with interpolated values between the first and the second vectors.
1 2 3 4 5 | library(Rdiffsolver)
vect1 <- seq(1,100,length.out = 10)
vect2 <- seq(2.5,250,length.out = 10)
dist <- 0.12
vect_int <- vectInterp(vect1,vect2,dist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.