動作環境
RStudio 0.99.903 on Windows 7 pro
R version 3.3.1
R機能マップ http://qiita.com/7of9/items/0f911bcb95d3a8bbd703
Rで使うspline()の情報を見た。
Description
Perform cubic (or Hermite) spline interpolation of given data points,...
m
(for splinefunH()): vector of slopes m[i] at the points (x[i],y[i]); these together determine the Hermite “spline” which is piecewise cubic, (only) once differentiable continuously.
piecewise の扱いに慣れれば自分が望んでいるものを得られるかどうか。