complete ui.r

added the link to help, and fixed a confidence level mistake