I am trying to turn a vector of length n (say, 14), and turn it into a vector of length N (say, 90). For example, my vector is 

```
 x<-c(5,3,7,11,12,19,40,2,22,6,10,12,12,4)

```

and I want to turn it into a vector of length 90, by creating 90 equally "spaced" points on this vector- think of x as a function. Is there any way to do that in R?