bus from Mammoth to Yosemite Valley...Has anyone taken that route before? how long does it take?

Also, are there other options that are somewhat affordable between Mammoth and Yosemite?

WTC