Description Usage Arguments Author(s) Examples
View source: R/simulate_normal.R
This function generates normal distributed variables
1 | simulate_normal(p = 0.8, mean = rep(0, 20), n = 40)
|
p |
Correlation between two variables |
mean |
A vector indicating the mean value of classification 0 |
n |
Number of datasets to generate, with 20 observations in each dataset |
Yan Sun, Yanke Zhu, Tao Liu
1 | dataxx = simulate_normal(p = 0.8, mean = rep(0, 20), n = 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.