R_Programming_E
R_Programming_E copied to clipboard
loops
I am very new to R. How do I loop a long number of variables into an equation. For example, the formula for m1 has a variable i. How do I run "fitted.values(m1) for hundreds of values of i? I have watched many videos, but have not found how to do this exact loop. Thanks!