toChoice | R Documentation |
The elements in ...
will coerced into one text vector. The entries will either the text (method==NA
) or integer number starting at method
.
The first letter of the list element names will be capitalized.
toChoice(method = NA, ...)
method |
integer: which method is used for creating the list elements |
... |
character: choice values |
a list
txt <- c("the", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog") toChoice(NA, txt) toChoice(0, txt) # integer sequence starts at zero
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.