Simulate normally distributed data with specific covariance structure and randomly sampled means. Adds response style contamination.
1 2 3 |
nr.indv |
Numeric vector of group sizes. |
m |
Integer; then number of variables to simulate. |
q |
Integer; the rating scale used |
R |
List with entry named 'R' which is the simulated correlation matrix |
err.coeff |
Standard error for each variable, added unto |
alphamat |
Matrix containing splines coefficients for te construction of respone styles. |
randomize |
logical; should the rows of the data be randomly permuted or not? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.