Imperial College London Level 3, Faculty Building London SW7 2AZ, UK Map
共分散分析 Last modified: Jun 29, 2004 目的 共分散分析を行う 使用法 covar.test(dat, cp1, cp2, cp3) 引数 dat データ行列(行がケース,列が変数) cp1 独立変数の列番号 cp2 従属変数の列番号 cp3 群変数の列番号 ソース インストールは,以下の 1 行をコピーし,R コンソールにペーストする source("http://aoki2.si.gunma-u.ac.jp/R/src/covar_test.R", encoding="euc-jp") # 共分散分析 covar.test <- function( dat, # データ行列 cp1, # 独立変数の列番号 cp2, # 従属変数の列番号 cp3) # 群変数の列番号 { dat <- subset(dat, complete.cases(dat[,c
ぼくもYコンビネータがわかるようになるまではそうだったのだけど、Yコンビネータを使うとどのような処理ができるのかがよくわからなくて悩んでいる人が多いように思う。他の人のブログを見ても、名前をつけずに再帰ができるのがすばらしいとか書いてあったりするのだけど、それによってどういう処理ができるのかわからずにいた。 結論をいえばYコンビネータには、なにかの処理を便利にする能力はない。関数であらゆる計算ができるということが示せれば、あとは用なしだ。理論の礎としてうまってしまえばいい。 結局、Yコンビネータによってどのような処理ができるかというのは、ラムダ計算の要素のメリットをチューリングマシンの中に見出そうとしてるといえる。 ラムダ計算とチューリングマシンは、どちらも計算モデルという点では一致しているけど、全く違う。 無限であるか有限かの違いといってもいい。 チューリングマシンでは、データの量と処理
渡部昇一さんの知的生活の方法 (講談社現代新書 436) に忘れがたいエピソードがあります。著者がドイツで研究をしていた折、指導してくださっていた先生からカード方式で情報をまとめて、思考を整理することをすすめられたというくだりです。 そのようなとき、また先生のお宅に夕食に招かれた。夕食前には論文の進み具合についての訊問があったが、私がまだもたもたしていることに気づかれた先生は、「一つ君に提案しようか」(Darf ich lhnen einen Vorschlag machen?) といわれて、カード方式をすすめられたのである。このときの Vorschlag (提案)という単語の発音が今でも印象深い。 いまでも、断片化して収拾がつかない思考をカード方式でまとめることには意義があります。PoIC などはこの冠たる例ですし、私もいまも引き出しに数千枚のカードを常備しています(買いすぎ…)。 でも
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
RjpWiki はオープンソースの統計解析システム R に関する情報交換を目的とした Wiki ですR のグラフィックスを適当な画像形式で保存する基本は postscript() デバイス関数等の画像ファイル出力専用の関数を使うことである。 R でポストスクリプト画像を作る方法 R のポストスクリプトデバイス postscript() 関数で作った EPS 画像は、気をつけないと真正の EPS ファイルにならず、xdvi で表示したり、pdf ファイルに取り込む際トラブルを引き起こす可能性があるので注意が要る。以下の注意を参照。 data(Titanic) # ポストスクリプトデバイスを開く。出力 EPS ファイル名を指定 # horizontal=FALSE を指定しないと、LATEX に取り込んだ時横にひっくり返る # オプション onefile = FALSE, paper = sp
Next: 1.1 はじめに C 言語で数値計算プログラミング 桂田 祐史 Date: 2003年6月9日 1.1 はじめに C の勉強の仕方 どういうプログラムに C 言語を用いるべきか 目次 1. コンパイル、実行の仕方 1.1 はじめに 1.2 とにかくコンパイル 1.3 実行形式の名前の指定 (-o オプション) 一口メモ 1.4 システムのライブラリィをリンクする (-l オプション) 1.5 複数のソース・ファイルからなるプログラムのコンパイル&リンク 1.6 cco コマンド 1.7 -I, -L, -R 1.8 便利なオプション -- 最適化 -O, 警告レベルをあげる -W -Wall 1.9 -g 1.10 -pg 1.11 -E 1.12 -S 1.13 GNU Emacs の利用 1.13.1 原始的なプログラム書き 1.13.2 compile コマンド 1.13
The R Journal R News has been superseded by the new R Journal . These pages are being retained for historical and archival purposes. R News (ISSN 1609-3631) was the newsletter of the R project for statistical computing from 2001--2008. It featured short to medium length articles covering topics that might be of interest to users or developers of R, including Changes in R: new features of the lates
概要 imagematrixオブジェクトが基準となり、画素値を埋め込んだ配列と"rgb"か"grey"を定めるtypeによって構成される。 配列は"rgb"だと行x列x3(r,g,b)、"grey"だと行x列になる。 imagematrix Generate an imagematrix, i.e. primary data structure of rimage 2次元配列(行列)があればimagematrixへの変換は容易で img<-imagematrix(行列,type="grey") でimgが画像となる。 plot(img) とすれば画像になった行列がプロットされる。 但し、濃度値は0から1の範囲を色に割り振るのでオーバーしている場合はnormalize(最大を1、最小を0に変換)やclipping(上下の閾値を指定してクリップ)を使う。 clippingのexampleが分か
TeXにおける参考文献の引用(BibTeX)とcje02.bst :日本語を含めた参考文献をBibTeXを用いて引用し、文献情報付きPDFを作成する方法の説明です。 BibTeX文献情報のWeb検索 :Google:Scholar、CiNii、Lead2Amazon、RePEc(IDEAS)からBibTeX形式の文献情報を取得します。 Amazonのカスタマイズ検索(Lead2Amazon):世界のAmazonの検索ができ、書籍のBibTeX文献情報が取得できる Lead2Amazonの説明です。 Lead2Amazonの出力(BibTeX 音楽トラック 関連商品 携帯アクセス):Lead2Amazonで選択できる出力に関する説明です。 ブラウザからの論文検索:Webブラウザから直接、論文(BibTeX文献情報)等を検索します。 JabRefは無料で利用できるBibTeX用の文献管理ソフト
(メニューへもどる) ノートパソコンをオシロスコープもどきにする 安価に,少ない努力でノートパソコン(PC/AT互換機)をオシロスコープもどきにする方法を紹介する。音声の波形表示だけならば,Windowsパソコンのマイク端子を通して可能であるが,オシロスコープのように直流から交流まで電圧値を広い範囲にわたって取り込み,表示することは不可能である。ここではシリアルポートまたはパラレルポートにA/Dコンバータを接続して,-20〜+20Vの直流から音声程度の周波数の信号波形をほぼリアルタイムに表示する方法を紹介する。シリアルやパラレルの標準ポートを使用するので,ディスクトップパソコンでももちろん可能である。接続するA/Dコンバータ部分は安価なキットまたは製品を使用し,ソフトウェアもそれに付属のものを用いた。使用したA/Dコンバータの入力電圧が0〜5Vなのでシフト電圧を加える回路,より広い電圧
文書中に図を入れると,文や数式だけより説明が分かりやすくなります. Wordなどのワープロソフトなら直感的に図の挿入が行えますが, LaTeXの場合は図を挿入する命令を使って別に用意した画像ファイルを呼び出すことになるので,ちょっと慣れが必要です.ここでは,TeXに図を挿入する基本的な流れを紹介します. graphicxパッケージ † これらの命令はgraphicxパッケージを使うのが一般的です.まず \usepackage[dvips]{graphicx} とプリアンブルに書いてgraphicxパッケージを読み込んでおきます.図はLaTeXが直接扱うのではなく,DVIドライバが処理します. DVIドライバは上の\usepackage文の [...] で指定します.ここではdvipsを指定しています. DVIドライバによって扱える図の形式は変わりますが, EPS(Encapsulated
1:ラグランジュの運動方程式 いきなりラグランジュの運動方程式…などと言われても、何のことやら、ですね。 実を言えば私も良く知りません。(おい) でも、別に全てを知り尽くす必要はないのです。 車の仕組みを細部まで理解しなくても、「アクセルを踏む」ことさえ知っていれば車は走ります。 この場合の「ラグなんたら方程式」も別に理解しようとしなくても良く(いや、全く覚えようという気が無いのもマズイですが)、一つのツールであるという認識で十分だと思います。 なので、下の式の解なんぞふっ飛ばしちゃってもOKです。 実際、私も大学時代のテキストほぼそのまんまにここを書いてますから。(駄目じゃん) 唯一、式(2)のカタチだけ、こんなモンが有る程度に覚えておけば問題無いでしょう。 へ?∂だのd/dtだの訳分らん? 細かい事気にしちゃ負けです(何に) とにかく、ラグランジュの運動方程式というのは、以下のようなも
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く