R : Sum and Loop

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



R : Sum and Loop



I am new to R , and my issue is like If i have a data frame with three columns and with value 10 , 20 and 30. I want to ran a loop 3 times.
The output should I get 30 60 and 90.



If I run the loop four times : then it should be 40 , 80 and 120.



Please help.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard