Random Numbers Dialog Function

DESCRIPTION:

This function is used by the Random Numbers dialog.

USAGE:

menuRandomNumbers(data, new.col.name="Sample", n, 
     distribution="uniform", seed=NULL, df1, df2, max=1, min=0, mean=0, 
     sd=1, location=0, scale=1, shape1, shape2, prob, size, k, m, nhyp, 
     save.name=deparse(substitute(data)), 
     show.p=.Options$show.data.in.view) 

REQUIRED ARGUMENTS:

data
data set to contain new column of random numbers.

OPTIONAL ARGUMENTS:

new.col.name
name for column of random numbers.
n
number of random numbers to generate.
distribution
distribution from which to generate random numbers.
seed
integer to be passed to set.seed for setting the random number seed to a particular value.
df1
df2
max
min
mean
sd
location
scale
shape1
shape2
prob
size
k
m
nhyp
various distribution parameters.
save.name
name under which to save revised data set.
show.p
logical indicating whether to display revised data set in a Data window.

VALUE:

data set with a column of random numbers added.

SEE ALSO: