Every time you increase the quality of the product you produce by 25% with R&D, you can raise the level of the production line one level. The upgrade will increase production by 25% over the amount of raw production (excluding specialization, facility level, and upgrades).