.create_data | R Documentation |
Improves readability for data creation rather than having to call mvrnorm each time. Also, there are many alternatives to mvrnorm in R, which isn't important for the package usefulness. Lastly, I was curious to see how internal functions work, as it is "good coding practice."
.create_data(covar_true, N)
covar_true |
covariance matrix (must be symmetric and positive definite) |
N |
number of replications |
an N * n matrix with each row corresponding to a replication of all covariates/locations
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.