Re: [R] Interpolate through NAs using monotonic smoothing spline

2014-10-23 Thread Jeff Newmiller
A very limited set of attachment types are allowed on this list.. yours was not one of them. Reading the Posting Guide will inform you about many useful things. Self-contained R code is the expected mode of communication here. >From your description, you might consider monotonic spline fitting t

[R] Interpolate through NAs using monotonic smoothing spline

2014-10-23 Thread Ingrid Charvet
In the figure attached "test", I would like to interpolate the empty - "NA" section to connect the two curves. 1/ I tried using "na.approx" and "na.spline", without success. na.approx(test,na.rm=FALSE) na.spline(test,na.rm=FALSE) In the first case it just draws a straight line between the end a