Takes a vector of means between 0.1 and 0.9 and returns random Likert values. The larger the given sd the greater the random variability around the mean So the function can be used to simulate correlated responses if from a latent factor.
1 | beta_likert_vec(x = seq(0.1, 0.9, length = 100), sd = 0.5)
|
x |
|
sd |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.