Description Usage Arguments Value Author(s) Examples
View source: R/rand-correlate.R
Make rand dataset
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
rows, cols |
number of rows and columns. |
obs |
number of observation. |
row.names, col.names |
row/column names. |
type |
one of "perlin", "cubic", "simplex", "value", "worley" or "white". |
frequency |
determines the granularity of the features in the noise. |
reorder |
reorder the dataset at random. |
seed |
an integer value or NULL. |
... |
extra parameters. |
vars |
number of variables. |
a correlate object or data.frame.
Houyun Huang, Lei Zhou, Jian Chen, Taiyun Wei
1 2 3 | rand_dataset()
rand_correlate() %>% quickcor() + geom_square()
rand_correlate(cols = 6) %>% quickcor() + geom_square()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.