[R] partial solutions to: if else statement problem

Peter Lercher Peter.Lercher at i-med.ac.at
Tue Jun 8 14:21:10 CEST 2010

Thank you to all for your help!

I received
two equal alternative solutions that bypassed elegantly the problem
from peter.l.e.konings at gmail.com
rafael.bjork at gmail.com

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

 From pburns at pburns.seanet.com
I received a hint to understand the problem why my code does not work.
p 13 on

I have to digest this yet


More information about the R-help mailing list