Question: Question: I used the following r code to generate 100 samples of size 25 each from lognormal distribution: lapply(1:100, function(i) rlnorm(25, meanlog = 2, sdlog

Question:

I used the following r code to generate 100 samples of size 25 each from lognormal distribution: lapply(1:100, function(i) rlnorm(25, meanlog = 2, sdlog =4))

Please, I want a r code to put those 100 samples of size 25 in a matrix such that each sample of such matrice is saved in one column of that matrix, so we will have a matrix of 25 lines and 100 columns.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!