function sorting alignment data according to token index
1 | sort_alignment(x, ti1 = NULL, ti2 = NULL, first = TRUE)
|
x |
data.frame to be sorted |
ti1 |
either NULL (default): first column of x is used as first token index for sorting; a character vector specifying the column to be used as first token index; or a numeric vector of length nrow(x) to be use as first token index |
ti2 |
either NULL (default): second column of x is used as second token index for sorting; a character vector specifying the column to be used as second token index; or a numeric vector of length nrow(x) to be use as second token index |
first |
should first text or second text be given priority |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.