Down to 17 if we carry on your idea using the matching property on the left hand side, too. :-)
p$h=pmax(p$h,p$s) Gabor Grothendieck writes: > Agree that this definitely should be pursued. :) In fact, > we can shave off several keystrokes by > > - replacing p[[1]] with p[1] on the left hand side > - p$high and p$settle with p$h and p$s on the right hand > side (which makes use of the matching property of $) > - '=' instead of '<-' > - remove all the spaces > > This gets it down to 18 characters: > > p[1]=pmax(p$h,p$s) > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html