powered by
Returns bivariate datasets from four synthetic distributions that have the shape of a circle, arrow, square and ellipse.
randy(pop = 1, n = 250)
a [2xn] matrix of random numbers
[2xn]
an integer from 1 to 4 marking the population of choice: 1 = circle, 2 = arrow, 3 = solid square, 4 = ellipse.
the number of random draws to be drawn from population pop
pop
p <- par(mfrow=c(1,4)) for (i in 1:4){ plot(randy(pop=i)) } par(p)
Run the code above in your browser using DataLab