powered by
Produces a random sample of k groups and d dimensions drawn from the normal distribution with different parameters.
generateMultivariateSample(N, k, d = 2)
Sample size.
Number of groups.
Number of dimensions.
list with two fields: matrix response and factor variable factor.
list
response
factor
# NOT RUN { generateMultivariateSample(N = 100, k = 10, d = 5) # }
Run the code above in your browser using DataLab