Module: Statsample::TimeSeriesShorthands

Included in:
Array
Defined in:
lib/statsample-timeseries/daru_monkeys.rb

Instance Method Summary collapse

Instance Method Details

#to_time_series(*args) ⇒ Object Also known as: to_ts

Creates a new Statsample::TimeSeries object Argument should be equal to TimeSeries.new


5
6
7
# File 'lib/statsample-timeseries/daru_monkeys.rb', line 5

def to_time_series(*args)
  Daru::Vector.new(self, *args)
end