3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

R > データ操作 > スプライン補間

Last updated at Posted at 2016-09-22
動作環境
RStudio 0.99.903 on Windows 7 pro
R version 3.3.1

R機能マップ http://qiita.com/7of9/items/0f911bcb95d3a8bbd703

データにスプライン補間してみる。

参考 http://astrostatistics.psu.edu/su07/R/html/stats/html/splinefun.html

> x<-c(1,11,20)
> y<-c(1,10,1)
> plot(x,y)

qiita.png

> z<-spline(x,y,n=100)
> plot(z)

qiita.png

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?