Skip to content

dansimpson/ts.rb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ts.rb

Utility class for time series data, which does not require periodicity.

Install
gem install ts
Usage
require "ts"

ts = TS.new([
  [time, value],
  # ...
  [time, value]
])

ts.each { |time, value|
  #...
}

ts.stats
ts.slice start, finish
ts.after time
ts.before time

See rdoc for all methods.

About

Utility gem for numeric time series data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages