Question: This is for R programming, I am trying to run this for loop and to create the matrix, but when I run this loop, it

This is for R programming, I am trying to run this for loop and to create the matrix, but when I run this loop, it just shows the error as that:
In this case, should I change the for loop to apply function? How could I change this loop to apply function?
Thank you very much!
matrix matrix dist1 vector "list" ,19900) for i in 1: 19900 1 dist1TTi RF dist Cestgene Dyli, 11]], gene Ly i, 1 mdist1 matrix dist1, nrow 19900, ncol 1, byrow F) matrix cbind y, mdist1 matrix matrix dist1 vector "list" ,19900) for i in 1: 19900 1 dist1TTi RF dist Cestgene Dyli, 11]], gene Ly i, 1 mdist1 matrix dist1, nrow 19900, ncol 1, byrow F) matrix cbind y, mdist1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
