gibsonf1 is completely right about the MUNI light rail - it is faster and the clientele are less crazy than the bus. I should add that into my post.
The only thing I would add about the light-rail is that it can get so crowded close to downtown during rush-hour that you can't get on...so take that into consideration if you're going to live in the lower haight or duboce triangle or something.