Skip to content

Instantly share code, notes, and snippets.

View koh-t's full-sized avatar

koh_t koh-t

View GitHub Profile
@koh-t
koh-t / demo316open.R
Created March 16, 2011 03:27
福島原発のデータ fukushima*.csv ( http://oku.edu.mie-u.ac.jp/~okumura/stat/data/ ) をRでグラフにするスクリプトです.使い方についてはコメント欄を参照してください.
# -*- coding: utf-8 -*-
## 1)http://oku.edu.mie-u.ac.jp/~okumura/stat/data/
## で配布されている、fukushima1.csvをダウンロードします
## https://gist.github.com/869400
## で配布されているスクリプトでデータを整形します
## テキストエディタ等で次のファイルのようにデータを更に整形します
## https://gist.github.com/871960
@koh-t
koh-t / fukushima316-mod.csv
Created March 16, 2011 03:24
fukushima316-mod.csv
day time place gamma
11 1730 13 0.049
11 1740 11 0.056
11 1750 12 0.064
11 1845 6 0.056
11 1900 7 0.057
11 1910 5 0.055
11 1915 4 0.059
11 1920 3 0.059
11 1952 6 0.057
## 初回実行時には以下のコメントアウトを外してください。
## ----------------- setting ----------------------
## パッケージのダウンロード先を変更します
## options(repos="http://cran.cnr.berkeley.edu/")
## zooライブラリをインストールします
## install.packages("zoo")
## -------------------------------------------------
## ライブラリ呼びこみ