There are a number of factors which influence the PR of a site including the ones which you have mentioned. But the most important one in my opinion is the "Content". If the content of your website is good and useful, it will automatically draw more traffic and accordingly its PR will improve.