Skip to contents

Gererate random scores for the simulation

Usage

score_generation(dim_score, num_score, score_variance)

Arguments

dim_score

dimension of the scores

num_score

number of scores

score_variance

variance of the score

Value

a matrix of generated random scores, with dim_score * num_score

Examples

score_generation(2, 10, c(1,2))
#>           [,1]        [,2]       [,3]       [,4]       [,5]      [,6]
#> [1,] 0.3494339  0.03030934 -0.5181427 -1.0218205 -0.6160239 -2.167402
#> [2,] 0.7177239 -2.44356797  0.5290223 -0.4798713 -0.9114103 -1.924155
#>             [,7]       [,8]       [,9]       [,10]
#> [1,] -0.07855056 -2.3045041 -0.1560371  0.04539591
#> [2,]  1.35225434  0.2798507 -0.9911807 -1.56722564