randy | R Documentation |
Returns bivariate datasets from four synthetic distributions that have the shape of a circle, arrow, square and ellipse.
randy(pop = 1, n = 250)
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 |
a [2xn]
matrix of random numbers
p <- par(mfrow=c(1,4)) for (i in 1:4){ plot(randy(pop=i)) } par(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.