Description Usage Arguments Details Value Examples
This function tries to create a final correspondance table starting from a vector of user answers and a vector of etalons
1 | ct_luckyguy(user_ans, etalon, algorithm = 1, ...)
|
user_ans |
the vector of user responces |
etalon |
the vector of etalon cathegories |
algorithm |
1 means that is max_dist is set to + infinity, 2 means that iterative algorithm is used 1 is better for finding one-to-one correspondance, 2 is better to find many-to-one correspondance |
translit |
logical whether to do transliteration |
The Levenstein distance is used. When to matches give the same distance the first one is returned. Warning: for lucky guys only!
pretty correspondance table if you are a lucky guy
1 2 | ct_luckyguy(user_ans,etalon,translit = FALSE)
ct_luckyguy(user_ans,ct_start)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.