日々のつれづれ

不惑をむかえ戸惑いを隠せない男性の独り言

2011-12-01から1日間の記事一覧

lapply関数の使い方

apply関数がmatirixとdata.frameに対して、行もしくは列方向にforと同じ効果で第1 引数に第3引数の関数を処理したように、第1引数の各要素にlapply 関数は第1 引数の各要素に対して、第2 引数で指定する関数を処理します。そして、その結果をlist を返します…

R advent calenderがスタートした!

R

I had found "R advent calender" at ATND site. The day I found was the day before R user meeting, and I noticed that I forgot to write the topic about R tutorials. Therefore, I tried to participate in this event and I wanted to make my moti…

子供の夢と大人の現実

今週のお題「サンタクロース」 12月になり、職場でも同僚と話になった。 昨今のおもちゃ事情は大変だ。大きいお友達も混じって、おもちゃ争奪戦となっている。 僕たちの世代(団塊Jr.)はテレビっ子で、マンガっ子で、ファミッ子だった。 そして、僕達は大人…