タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

Rubyと統計に関するhoppieのブックマーク (1)

  • Ruby - RjpWiki

    RSRuby † 日で博士研究員をしている Alex さんが RSRuby を開発しています。 以下のようなことができるものがリリースされています。(なかお) require 'rsruby/rsruby' r = RSRuby.new r.dnorm(10, 0, 1) ary = r.rnorm(100) ary.class #=> Array r.sample(ary, 10).size #=> 10 r.seq(1, 10, 2) #=> [1, 3, 5, 7, 9] r.sum(r.seq(1, 10, 2)) #=> 25 r.example("plot") IO.popen("open Rplots.ps") require 'pp' t_test = r.call_R("t.test", r.rnorm(10), r.rnorm(10)) pp t_test # 0

  • 1