.. bin(data, bins) - returns a vector of the data binned into bins, any data less than the first bin will be discarded, and data greater than the last bin will be included in the last bin. the returned bin is based upon counts, so will need to be scaled if want duration in seconds. e.g: b <- bins(data, quantiles(data, c(0,0.25,5,0.75,1))) * RECINTSECS;
GoldenCheetah
About
GoldenCheetah is an open-source data analysis tool primarily written in C++ with Qt for cyclists and triathletes with support for training as well.
GoldenCheetah can connect with indoor trainers and cycling equipment such as cycling computers and power meters to import data.
In addition, GoldenCheetah can connect to cloud services.
It can then manipulate and view the data, as well as analyze it.
Installing
Golden Cheetah install and build instructions are documented for each platform;
INSTALL-WIN32 For building on Microsoft Windows
INSTALL-LINUX For building on Linux
INSTALL-MAC For building on Apple OS X
Alternatively, official builds are available from http://www.goldencheetah.org
whilst the latest developer builds are available from https://github.com/GoldenCheetah/GoldenCheetah/releases