Description Usage Arguments Value Author(s) Examples
Some answer vectors may be too verbose to represent in visual plots. Verbose answers are abbreviated to a string containing the first letter of each word, "not answered" answers remain the same, and "" answers are returned as "not answered"
1 | shortenAnswers(avec, l = 13)
|
avec |
Original answer vector (in character or factor format) |
l |
Maximum length (in characters) of an original answer vector that does not need abbreviation |
List with two objects. The first object is the returned abbreviated answer vector. The second object is a glossary key
Xiaoyue Cheng <xycheng@iastate.edu>
1 2 | avec = "The answer is more than l characters"
shortenAnswers(avec, l=13)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.