タグ

rとツールに関するrishidaのブックマーク (8)

  • Doris Entner - VAR-LiNGAM

    The R code for estimating a VAR-LiNGAM (Vector Autoregressive Linear Non-Gaussian Acyclic Model) is provided on this page. It can be used to estimate such a model from own data. Sample applications on economic data using this code were given in the paper A. Moneta, D. Entner, P.O. Hoyer, and A. Coad; Causal Inference by Independent Component Analysis: Theory and Applications (OBES 2013). Software

    rishida
    rishida 2015/08/06
    “Estimation of a Structural Vector Autoregression Model Using Non-Gaussianity”
  • dplyrを使いこなす!基礎編 - Qiita

    はじめに 4月ということで、新卒が入ってきたりRを使ったことないメンバーがJOINしたりしたので、 超便利なdplyrの使い方を何回かに分けてまとめて行きます。 Rは知らないけど、SQLとか他のプログラミング言語はある程度やったことあるみたいな人向けです。 dplyrを使いこなす!シリーズ 基礎編以外も書きましたので、↓からどうぞ。 dplyrを使いこなす!Window関数編 dplyrを使いこなす!JOIN編 dplyrとは データフレームの操作に特化したパッケージです。 Rは基的に処理速度はあまり早くないですが、dplyrはC++で書かれているのでかなり高速に動作します。 ソースの可読性もよくなるので、宗教上の理由で禁止されている人以外は使うメリットは大きいです。 処理可能なデータサイズの目安 あくまでも個人の環境に強く依存した感覚値ですが、1000万行、100MBぐらいのデータサイ

    dplyrを使いこなす!基礎編 - Qiita
    rishida
    rishida 2015/07/16
    テーブルをR内で高速に処理するパッケージ
  • Rで解析:インタラクティブなヒートマップ!D3.jsを利用した「d3heatmap」パッケージの紹介

    ヒートマップをインタラクティブに操作する「d3heatmap」パッケージがリリースされました。パッケージのメインコマンド”d3heatmap”はgplotsの「heatmap.2」コマンドと多くが共通しているので、これらパッケージの使用経験があるとすぐに使いこなせると思います。 ためしにパッケージより「400*50の20,000データ」を出力したところ、多少のモタつきはありますがぐりぐり動きました。サーバー経由でなければ一般的な使用方法には十分かと思います。なお、距離の計算は搭載メモリに依存しますのでデータ数は使用環境により異なります。 また、紹介する出力結果は利便性を考えて「50*10の500データ」としています。最下部に表示しています。ぐりぐり動かしてみてください。 Rを使用し始めたころから考えると、これほど多くのインタラクティブな結果を出力するパッケージがリリースされるとは思って

    Rで解析:インタラクティブなヒートマップ!D3.jsを利用した「d3heatmap」パッケージの紹介
  • googleVis examples

    googleVis examples Markus Gesmann and Diego de Castillo 2024-05-25 1 Demonstration of googleVis It may take a little while to load all charts. Please be patient. All charts require an Internet connection. These examples are taken from the googleVis demo. You can execute the demo via library(googleVis) demo(googleVis) For more details about the charts and further examples see the help files of the

  • svSocket: 'SciViews' - Socket Server

    rishida
    rishida 2015/03/31
    Rのプロセス間通信のやり方。変数をそのまま受け渡しできて便利
  • Cory Nissen

    I’ve decided to move on from my old Stats and things blog and host my own.

    Cory Nissen
    rishida
    rishida 2015/03/31
    Rでのプロセス間通信のやり方
  • R で超簡単に並列処理を書けるパッケージ pforeach を作った - ほくそ笑む

    ※この記事は R Advent Calendar 2014 : ATND の 22 日目の記事です。 0. この記事の要約 R の foreach パッケージを改良して、デフォルトで並列計算するようにしたパッケージ pforeach を作りました。 pforeach - Easy to parallel processing in R これにより、R での並列計算を下記のようにシンプルに書くことができます。 library(pforeach) pforeach(i = 1:100)({ i ** 2 }) これは、従来の foreach で次のように書いたものと同じ動作をします。 library(foreach) library(doParallel) cl <- makeCluster(detectCores()) registerDoParallel(cl) foreach(i = 1

    R で超簡単に並列処理を書けるパッケージ pforeach を作った - ほくそ笑む
  • R seminar on igraph

    5. Network Science  Data-Driven Scienceの一種  統計解析・数理モデル  大量のデータを「知識」にする。  19世紀頃から社会学の一分野として認識されてい た。  Social network analysis  Weak tieやStructural holeと富の関係など  最近ではSNS解析・サービスで利用  2000年頃から生物学で「精力的」に応用され始め る。  データが利用可能になったことにより 6. 参考文献  Barabási A-L, Oltvai ZN (2004) Network biology: understanding the cell’s functional organization. Nat Rev Genet 5: 101–113.  Barabási A-L, Gulbahce N, Losc

    R seminar on igraph
    rishida
    rishida 2013/05/22
    グラフ構造を表現するRのツールと、それに実装されているアルゴリズムの簡単な説明
  • 1