Sha256: fc8c0645bb252405301273669eda46918128faac3dbfdc95508e8e6f8b6d25be

Contents?: true

Size: 309 Bytes

Versions: 10

Compression:

Stored size: 309 Bytes

Contents

#!/usr/bin/ruby
$:.unshift(File.dirname(__FILE__)+'/../lib/')

require 'statsample'

Statsample::Analysis.store(Statsample::Vector) do

  a=Statsample::Vector.new_scale(1000) {r=rand(5); r==4 ? nil: r;}
  summary a
  b=c(1,2,3,4,6..10)
  summary b
  
end

if __FILE__==$0
  Statsample::Analysis.run_batch
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
statsample-1.4.3 examples/vector.rb
statsample-1.4.2 examples/vector.rb
statsample-1.4.1 examples/vector.rb
statsample-1.4.0 examples/vector.rb
statsample-1.3.1 examples/vector.rb
statsample-1.3.0 examples/vector.rb
statsample-1.2.0 examples/vector.rb
statsample-1.1.0 examples/vector.rb
statsample-1.0.1 examples/vector.rb
statsample-1.0.0 examples/vector.rb