Method: Statsample::Histogram.alloc

Defined in:
lib/statsample/histogram.rb

.alloc(n_bins, range = nil, opts = Hash.new) ⇒ Object

Alloc n_bins, using range as ranges of bins



45
46
47
48
# File 'lib/statsample/histogram.rb', line 45

def alloc(n_bins, range=nil, opts=Hash.new)
  Histogram.new(n_bins, range, opts)
  
end