Bloomberg have this function with other variables when working out a Beta like frequency of returns - if you want to know more about the in and outs of Beta calculation i would suggest reading a paper called estimating the cost of capital (I think) by Aswath Damodaran.
Cheers.