Description Usage Arguments Value
This builds the feature matrix out of flag vectors (internally called function)
1 2 | buildFeatureMatrix(number_of_intervals, number_of_features,
interval_numbers, feature_numbers, flags)
|
number_of_intervals |
The number of intervals |
number_of_features |
The number of features |
interval_numbers |
Array of interval numbers (1-based indeces) for flags |
feature_numbers |
Array of feature numbers (1-based indeces) for flags |
flags |
Array of +1/-1/0 indicating intervals at which feature durations start/end |
A matrix with 'number_of_intervals' rows and 'number_of_features' columns, where features are filled in with 1s according to the flags turning them on/off.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.