Description Usage Arguments Examples
Generate bool signal vector for a given continuous 0-1 (quantile) signal
1  | GenBoolSignal(signal, n.group = 10, cuts = seq(0, 1, 1/n.group))
 | 
signal | 
 xts numerical from 0 to 1, i.e. from GenEmpQuantileVec  | 
n.group | 
 int number of groups divided  | 
cuts | 
 vector of number used to divide groups  | 
1 2  |   GenBoolSignal(quantiles, 6, cuts = c(0, 1/10, 3/10, 0.5, 1-3/10, 1-1/10, 1))
  GenBoolSignal(quantiles, 10)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.