Highest PWM frequency output for the Uno/Nano

The posted code is that one that was most promising relative to the rf output. Can you suggest how a different timer should be implimented? Just that I am not at all familiar with Arduino timers.