R_Programming_E icon indicating copy to clipboard operation
R_Programming_E copied to clipboard

loops

Open philingranville opened this issue 6 years ago • 0 comments

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!

philingranville avatar Jan 15 '19 00:01 philingranville