rfrab {frab} | R Documentation |
Random frabs
Description
Random frab
objects, intended as quick
“get you going” examples
Usage
rfrab(n = 9, v = seq_len(5), symb = letters[seq_len(9)])
rfrabb(n = 100, v = -5:5, symb = letters)
rfrabbb(n = 5000, v = -10:10, symb = letters, i=3)
Arguments
n |
Length of object to return |
v |
Values to assign to symbols (see details) |
symb |
Symbols to use |
i |
Exponentiating index for |
Details
What you see is what you get, basically. If a symbol is chosen more
than once, as in, c(a=1,b=2,a=3)
, then the value for a
will be summed.
Use function rfrab()
for a small, easily-managed object;
rfrabb()
and rfrabbb()
give successively larger objects.
Value
Returns a frab object
Author(s)
Robin K. S. Hankin
Examples
rfrab()
[Package frab version 0.0-6 Index]