Calculate a 2D spline curve in R
问题 I'm trying to calculate a Bezier-like spline curve that passes through a sequence of x-y coordinates. An example would be like the following output from the cscvn function in Matlab (example link): I believe the (no longer maintained) grid package used to do this ( grid.xspline function?), but I haven't been able to install an archived version of the package, and don't find any examples exactly along the lines of what I would like. The bezier package also looks promising, but it is very slow