Description Usage Arguments Examples
Sample n letters from the alphabet without replacement
1 | alphabet(n)
|
n |
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (n)
{
letters <- c("a", "b", "c", "d", "e", "f", "g", "h", "i",
"j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t",
"u", "v", "w", "x", "y", "z")
sample(letters, n, replace = T)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.