assign ranges

Both live and online, what is the thought process that you apply to assign ranges to your rivals? someone has a thread or some link with information on what concepts to take into account when assigning a range? I am not from walking using strict tables I find them very rigid for poker and many times they do not serve I am more of the mental atte thank you very much