Description Usage Arguments Examples
To be used within the quickSort() function from package rje Output is either -1 or 1, similar output to greaterThan() from rje
1 | compare(choice1, choice2)
|
choice1 |
The first item, a character |
choice2 |
The second item, a character |
1 2 3 | choice1 <- "Fix the roof"
choice2 <- "Clean the living room"
compare(choice1, choice2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.