The range is affected, but it depends strongly on how often you accelerate hard.
Ben, I beg to differ with you. I believe acceleration has little if anything to do with range. Think about it: If you're getting on a freeway on-ramp at 30 mph, and you want to accelerate up to 70, you can do it long and slow, or short and fast. Obviously, accelerating harder will draw more current from the batteries, but you don't need to accelerate for as long. In fact, you can calculate the kinetic energy of you and the bike at 70 mph, subtract the energy of you and the bike at 30, and that's how much energy you need to add to change speed. It doesn't matter how fast you do it! Now that's just a first approximation; higher currents will certainly result in higher losses, so the truth is somewhere in between -- acceleration has SOME effect on battery life, but not very much!
I admit it sounds a bit hard to believe, but I've tested it on my SR several times, and it really does seem to be true. Sometimes on my daily commute I'll accelerate very hard, somedays I'll accelerate much slower, sometimes I'll just ride naturally, but always limit my top speed to 75 mph. I honestly can't see any difference in the results. Day-to-day variations are far bigger.
I think top cruising speed is by far the most critical factor determining range, maybe 80% influence. Amount of regen may be a 10% factor, acceleration rate maybe 5%, and everything else adds up to the last 5%.