compare_for_tests <- function(i,j,v,omega=1){ omega * (v[i] <= v[j]) + (1-omega) * (v[i] < v[j]) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.