Description Usage Arguments Details
Pick the optimal label from candidate labels
1 2 3 4 5 6 7 8 |
n |
The number of desired tasks |
text.predict |
A data frame or matrix containing both the text and the indicator(s) of the model predicted topic(s). |
text.name |
variable name in 'text.predict' that indicates the text |
top1.name |
variable name in 'text.predict' that indicates the top1 model predicted topic |
labels.index |
The topic index in correspondence with the labels, e.g., c(10, 12, 15). |
candidate.labels |
A list of vectors containing the user-defined labels assigned to the topics, Must be in the same length and order with 'labels.index'. |
Users need to specify four plausible labels for each topic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.