randy {geostats} | R Documentation |
generate bivariate random data
Description
Returns bivariate datasets from four synthetic distributions that have the shape of a circle, arrow, square and ellipse.
Usage
randy(pop = 1, n = 250)
Arguments
pop |
an integer from 1 to 4 marking the population of choice: 1 = circle, 2 = arrow, 3 = solid square, 4 = ellipse. |
n |
the number of random draws to be drawn from population |
Value
a [2xn]
matrix of random numbers
Examples
p <- par(mfrow=c(1,4))
for (i in 1:4){
plot(randy(pop=i))
}
par(p)
[Package geostats version 1.6 Index]