I am new to R and I have a problem that I simply cant find the solution to. I have tried reading through older posts etc. but I can\'t figure out how it could/should be done. I