R

Last-modified: 2010-12-24 (金) 15:27:31

インストール

  • Ubuntu 10.10
    #apt-get install r-base r-base-dev r-cran-*

ファイルからデータを読み込む

>x <-read.table("sample.dat")

http://cse.naro.affrc.go.jp/takezawa/r-tips/r/40.html

  • V1の列をxに代入
    >x1 <- x$V1

単回帰

http://www.geocities.jp/kashiwabara_fact/statistics-tankaiki.htm

ESS

http://www.okada.jp.org/RWiki/index.php?ESS#a132c2e3


参考URL