randomSample: Generate an arbitrary number of random samples from a normal...

Description Usage Arguments Value Author(s) Examples

Description

Returns a data frame whose columns are random samples from a normal distribution

Usage

1
randomSample(mu = 0, sigma = 1, sampleSize = 25, numSamples = 1)

Arguments

mu

mean of normal distribution

sigma

standard deviation of normal distribution

sampleSize

size of each sample

numSamples

number of random samples to be generated

Value

A data frame whose columns are random samples from a normal distribution

Author(s)

Joe Zemmels

Examples

1
head(randomSample(mu=1,sigma=4,sampleSize=100,numSamples=5))

jzemmels/statsfoRdummies documentation built on May 14, 2019, 12:55 a.m.