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"
shortenAnswers(avec, l = 13)
Original answer vector (in character or factor format)
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 <[email protected]>
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.