alphabet: alphabet

Description Usage Arguments Examples

View source: R/alphabet.R

Description

Sample n letters from the alphabet without replacement

Usage

1

Arguments

n

Examples

 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)
  }

dtreisman/Alphabet documentation built on Nov. 21, 2019, 12:26 a.m.