Nested For Loops
a.
Create a 10×15 matrix with NAs.
b.Assign [i,j] th element( ith row and jth column value ) as i × j by using nested for loops.
Provide R code Plz
R Code is given below
mat after line 1
mat after nester for loop
Dont forget to give a thumbs up :)
Get Answers For Free
Most questions answered within 1 hours.