[R] if statements on vectors

Jim Lemon jim at bitwrit.com.au
Thu Feb 24 11:04:09 CET 2011


On 02/24/2011 08:43 PM, Jim Lemon wrote:

Oops, forgot about the zero!

trunc((trend1 * trend2 + 1)/2)

Jim



More information about the R-help mailing list