Re: [R] replacing elements of vector through elements of another vector

2011-07-28 Thread Marcus Mund
Dear Marc and David, thank you so much for casting off my blinkers - it works! Marcus Am 27.07.2011 17:52, schrieb David Winsemius: > On Jul 27, 2011, at 10:52 AM, Marcus Mund wrote: > >> Hello everybody, >> >> I hope this question is not too silly but I'm almost

[R] replacing elements of vector through elements of another vector

2011-07-27 Thread Marcus Mund
qual length of the replacement and what has to be replaced... I guess I am too deep in the problem to see the (probably) easy solution, hence any hints and advices are appreciated. Thank you very much! Marcus -- Dipl.-Psych. Marcus Mund Friedrich-Schiller-University Jena Institute for Psycho