Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started