Skip to content
Prev 361647 / 398506 Next

summing up a column.

Jeff;
?thanks for this. My question was job related. No from my course. I need finish a job for the place I work. I am so sorry for causing misunderstanding.
thanks,
Oslo
On Friday, June 10, 2016 5:08 PM, oslo via R-help <r-help at r-project.org> wrote:
Jeff thanks for this. My question was job related. No from my course. I need finish a job for the place I work. I am so sorry for causing misunderstanding.
thanks,
Oslo
? ? On Friday, June 10, 2016 5:02 PM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
Multiple posting happens when you are learning a new system, but reading the posting guide can keep the bleeding down. 

1) There is a no-homework policy on this list... different educational organizations have different standards for what is acceptable outside help, so you should be using the support offered by your instructor or educational institution. 

2) Once you have completed your course, you CAN learn to post data with your code so that it is self-contained... that is, reproducible on our vanilla R session. Using the dput function is one excellent strategy. 

3) This is not a problem that needs a loop... as Bert (not Bret) said, you can do this in one or two statements if you simply use basic logical indexing. If your instructor wants you to do it with a loop for sine reason then you really really should not be here... you should be talking to him/her.