I teach that you should seek to learn from competitors; obviously never copy another business's idea or what they are doing, but you can absolutely learn from their mistakes or see what they are doing and discover ways to improve it. All of that analysis belongs in your business plan: make sure you have your competitors under the microscope and make sure that is a solid chunk of your plan. That is some of the best research and information you will gather about what will make your business successful in future.
Any casual viewer of the BBC programme, Dragons Den will be aware of how easy it is for weaknesses or gaps to be identified. Depending upon the purpose of the plan, this may, or may not, prove to be critical. It is often easier to recognise such weaknesses and gaps, and be prepared to deal with them, either by noting them in the plan itself, or having appropriate answers available should the need arise.