This takes the fast findInterval2 implementation from Hadley Wickham (http://adv-r.had.co.nz/Rcpp.html) and just replaces everything with RcppArmadillo objects. Since smoothQTL is implemented in armadillo this saves some conversions
1 | findIntervalArmadillo(x, breaks)
|
x |
the cutoff points to be found |
breaks |
the vector to look for. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.