| fast_history_compute | R Documentation | 
Computes cumulative history based on common history values and
normalized_tau and mixed_state that are defined for each
random cluster / individual.
fast_history_compute(df, normalized_tau, mixed_state, history_init)
| df | DataFrame with  | 
| normalized_tau | DoubleVector A normalized tau value for each random cluster / individual. Thus, its length must be
equal to the number of unique indexes in  | 
| mixed_state | DoubleVector A values used for the mixed state for each random cluster / individual.
Thus, its length must be equal to the number of unique indexes in  | 
| history_init | DoubleVector, size 2. Initial values of history for a run. | 
NumericMatrix, size df.nrows() × 2. Computed history values for each state.
df <- preprocess_data(br_singleblock, state="State", duration="Duration")
fast_history_compute(df, 1, 0.5, c(0, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.