Thank you to all for your help!

I received
two equal alternative solutions that bypassed elegantly the problem
from peter.l.e.koni...@gmail.com
and
rafael.bj...@gmail.com

rr.dia2.corr <- rr.dia.2m
rr.dia2.corr[which(med.hyper == 1)] <- rr.dia.2m[which(med.hyper == 1)] - 5

From pbu...@pburns.seanet.com
I received a hint to understand the problem why my code does not work.
p 13 on
http://lib.stat.cmu.edu/S/Spoetry/Tutor/R_inferno.pdf

I have to digest this yet

Peter


______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to